How to set up cron jobs in Cpanel

Submitted by ionut on 18/02/2014

I know that there are a lot of places where you can find instructions on how to set up your Cron jobs on Cpanel. Sometimes you just want a simple solution which you can Copy & Paste and this solution should work so you not waste any more time on this matter.

Here's what I use everytime I need to set up a Cron job on Cpanel, especially on Drupal sites:

wget -qO- [URL-TO-YOUR-SCRIPT-THAT-NEEDS-TO-BE-EXECUTED] &> /dev/null

It worked on every shared host I tried it and it doesn't save any files with the output of the script nor it needs any other software installed on the server. 

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.