How Can I Run a Cron Job in Plesk?

This post is old. It may contain broken links, missing images and incorrect information.

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!

Jack Barber, freelance web developer based in Whitby, UK

Written By

I'm a freelance web developer based in Whitby, UK. I built my first website using GeoCities, and learned to write HTML and CSS using Notepad. Web technology has come a long way since then, as have my web development skills!

These days I love helping my clients make the most of the internet. I provide design, development, marketing and IT support services, forming long-term partnerships with my clients.

Connect With Me

Posted in Uncategorized