• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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