Cron Jobs in Plesk

Cron Jobs (if you didn't know) automate the running of specified scripts on a server - making them a great way for automatically sending emails, or running maintenance scripts during the night etc.

Plesk makes it really easy to set up (and this is more for my future reference than anything else).  All you need to do is go into 'Tools and Utilities' > 'Scheduled Tasks' then select 'root' as the user.  Click 'Add New Task' then fill in the form.

The 'Command' should follow this pattern:

php -q /var/www/vhosts/MYURL.co.uk/httpdocs/SCRIPT.php

Easy!

Posted On: 19/10/2011

< Previous Post

Next Post >

blog comments powered by Disqus