Apr 6, 2004 #1 vstoices Programmer Joined May 14, 2003 Messages 1 Location 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 Joined May 6, 2002 Messages 15,350 Location 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 Joined Sep 20, 2001 Messages 464 Location 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.
Apr 12, 2004 #4 stanhubble MIS Joined Apr 6, 2001 Messages 1,052 Location CA you put in long days....... Upvote 0 Downvote