• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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