How to Set Up Cron Jobs in Plesk 9.5
AuthorAdrian McNab Article Reference NumberAA-00999 Views2096 0 Rating/ Voters

Setting Up Cron Jobs in Plesk 9.5 for VPS

Click here for a video tutorial

How to set up cron jobs (scheduled tasks) in Plesk.

This tutorial assumes that you have already logged in to Plesk.

Now let's learn how to set up Cron jobs from within Plesk.

Cron Jobs are actually called "cron daemons." They are used for doing some tasks at specific intervals without your intervention every time. You set the clock and the cron daemon runs the work for you.

  1. Scroll down and right to the Additional Tools group.
    Image:Additionaltools.JPG
  2. Click Scheduled Tasks.
    Image:Scheduledtasks.JPG
  3. Select the system user under whom the command should be run.
    Image:Systemuser.JPG
  4. Then click Next.
    Image:Clicknext.JPG
  5. First, we need to specify the email address where the cron results will be delivered upon the completion. Click Preferences.
    Cronpreferences.JPG
  6. Enter the email address in the box.
    Image:Cronemail.JPG
  7. Click OK when finished.
    Image:Ok.JPG
  8. That's it! Now let's add a new scheduled task. Click Schedule New Task.
    Image:Schednew.JPG
  9. The task is already switched On by default.
    Image:Ondefault.JPG
  10. Let's fill out the parameters in the following order: Minutes, Hours, Day of Month, Month, Day of week.
    Image:Times.JPG
  11. Scroll down.
  12. Now enter the actual cron command. Its syntax may differ depending on the server's setup. You may clarify this information with your hosting provider.
    Image:Croncommand.JPG
  13. When ready, click OK to save the changes.
    Image:Ok.JPG
  14. Success! The new cron task has been successfully set up. The test.cgi script is set to be run every night at 11:30 p.m. without our intervention, and its results are to be sent to info@demo1234.com email address.
    Image:Newcrontask.JPG
  15. Now let's see how to switch the cron Off and how to delete it altogether.
  16. Click the small icon to switch the cron Off.
    Image:Turncronoff.JPG

    Image:Offcron.JPG
  17. That's it! Then select the cron by checking the box to the left.
    Image:Selectcron.JPG
  18. Click Remove.
    Image:Remove.JPG
  19. Select the checkbox to confirm the removal.
    Image:Confrem.JPG
  20. Then click OK.
    Image:Ok.JPG
  21. The selected cron task has been successfully removed now. You may add as many cron commands as needed following the instructions provided in this tutorial.
    Image:Crondeleted.JPG

This is the end of the tutorial. You now know how to set up a scheduled cron task in Plesk. You should always remember to remove the unnecessary crons so that there is no additional load on the server.

Comments(0)
There are no comments for this article.
Info Add Comment
Nickname: Email (will not be shown): Subject: Comment:
Quick Jump Menu
Subscribe to updates Subscribe to Updates
Email to a frien Email to a Friend
Print Print Article
Info Vote
Info Ask a Question
Email (will not be shown): Subject: Question: