October 19, 2010 1:29 pm
When creating cron jobs using cPanel there are some handy ‘common settings’ which include presets to run cron jobs from every 5 minutes to once a year.
However for a lot of the scripts that I run on cron the jump from once a day to once a week, which are both defined under the common settings, is just a little bit too much of a time difference.
Instead there are quite a few jobs I schedule to run once every 48 hours, however the crontab command for this is not immediately obvious and is not included in cPanel’s common settings.
To run a cron job every 48 hours (i.e. every two days) try the following command:
Categorised in: Webmaster
This post was written by WillyNilly