Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

0   */6 *   *   *

or

*   */6 *   *   *

Thanks

share|improve this question

migrated from stackoverflow.com Dec 3 '12 at 1:54

This question came from our site for professional and enthusiast programmers.

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.