• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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