Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

CRON what is correct time code for every 6 hours?

Writer Matthew Harrington

I just want to know which one should work just fine for Run every 6 hours forever:

0 */6 * * *

or

* */6 * * *

Thanks

1

2 Answers

I would say the first one. It will run once every six hours. You can also try to set specific hours like this:

00 2,8,14,20 * * * 

You might also find useful to check out this page.

It is worth mentioning that, Azure cron is different, in Azure it will be

0 0 */6 * * *

Azure cron documentation and more samples

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy