How to set up a cron job every 3 hours

Is this the right way to set a cron job every 3 hours? After installing this method, cron runs a command every minute.

enter image description here

+47
cron crontab cpanel
Mar 19 '14 at 15:00
source share
3 answers

Change Minute to 0 . What is it:)

Note: you can check your "crowns" at http://cronchecker.net/

Example

+111
Mar 19 '14 at 16:11
source share

Change the Minute parameter to 0.

You can install cron every three hours as follows:

0 * / 3 * * * your team is here.

+23
Mar 25 '15 at 6:25
source share

The unix setup should look like this:

  0 */3 * * * sh cron/update_old_citations.sh 

Good link on how to set various settings in cron: http://www.thegeekstuff.com/2011/07/cron-every-5-minutes/

+9
Oct 25 '15 at 9:08
source share



All Articles