Apr 6, 2004 #1 vstoices Programmer May 14, 2003 1 US how to set a crontab job to run every 3 hours? You can do it every hour on the hour, but how can be done to run something every 3 hours?
how to set a crontab job to run every 3 hours? You can do it every hour on the hour, but how can be done to run something every 3 hours?
Apr 6, 2004 #2 sleipnir214 Programmer May 6, 2002 15,350 US 0 */3 * * * <name of script> should do it. Issue: man 5 crontab for more information. Want the best answers? Ask the best questions! TANSTAAFL!! Upvote 0 Downvote
0 */3 * * * <name of script> should do it. Issue: man 5 crontab for more information. Want the best answers? Ask the best questions! TANSTAAFL!!
Apr 6, 2004 1 #3 aigles Technical User Sep 20, 2001 464 FR This syntax is not accepted on my system (AIX). Another solution is to specify the hours of execution. In the following example the command will run every 3 hours since midnight: 0 0,3,6,9,12,15,18,31 * * * command Jean Pierre. Upvote 0 Downvote
This syntax is not accepted on my system (AIX). Another solution is to specify the hours of execution. In the following example the command will run every 3 hours since midnight: 0 0,3,6,9,12,15,18,31 * * * command Jean Pierre.