0 0,4,8,12,16,20 * * * /cmd.sh
That’s probably how I would do it. This will run the job every 4 hours, on the hours of 00:00, 04:00, 08:00 12:00, 16:00, 20:00.
This is just a little more verbose way of writing */4, but it should work the same.
0 0,4,8,12,16,20 * * * /cmd.sh
That’s probably how I would do it. This will run the job every 4 hours, on the hours of 00:00, 04:00, 08:00 12:00, 16:00, 20:00.
This is just a little more verbose way of writing */4, but it should work the same.