• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Scheduled task doesn't run batch file

DanTeixeira

New Pleskian
Hi,

I've created a couple of batch files (one as a test after the first didn't work) and neither are being ran as a scheduled task by Plesk. If I run them manually (browsing to the folder and double-clicking) they both work fine.

Event Viewer reports Unable to create file 'C:\inetpub\vhosts\xxxxxx\xxxxxx': (5) Access is denied.
User: SYSTEM

That path is the location of the batch files, where the Plesk user under which the scheduled tasks run (and SYSTEM) has full control. Tried setting up the task several ways, for example:

Path to executable -> path to batch file or c:\windows\syswow64\cmd.exe or even c:\windows\system32\cmd.exe
Arguments -> empty or path to batch file

Thanks in advance for the help.
 
Back
Top