• 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

How to use Scheduled Tasks

Z

Zeon

Guest
Hey everyone,
I'm wanting to use scheduled Tasks so php will open a webpage - cron.php every minute. I know if under windows I can just setup a task using the following syntax:
"C:\Program Files\Parallels\Plesk\Additional\PleskPHP5\php.exe" -f "C:\vhosts\cron.php"

However if I put this into Plesk scheduled task it doesn't run - when I look under the scheduled tasks panel in windows it seems that plesk adds a whole bunch of other stuff such as the command prompt and
"C:\Program Files\Parallels\Plesk\runtask.exe"

What would be ideal would be to just put something in like:

php GET http://url.com/cron.php - is this possible?
 
Back
Top