7

I haven't been able to find an example of how to run a command in crontab at 5 minutes past every hour.

I assumed that this would work

5 */1 * * *

But it doesn't run.

Can anyone help?

Thanks in advance.

16

Just use 5 * * * *

the others are wilcards

if you wanted at 1:05am only that would be 5 1 * * *

0
0

You should use */5 */1 * * *

You should try yourself here.

2
  • 2
    5 * * * * is simpler!
    – Toto
    Jan 12 '18 at 10:45
  • That would be every 5th minute. The question was 5 minutes past every hour, which is not the same thing Jun 17 at 5:25

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.