9

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.

2 Answers 2

20

Just use 5 * * * *

the others are wilcards

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

0
1

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

You should try yourself here.

3
  • 3
    5 * * * * is simpler!
    – Toto
    Commented Jan 12, 2018 at 10:45
  • 4
    That would be every 5th minute. The question was 5 minutes past every hour, which is not the same thing Commented Jun 17, 2021 at 5:25
  • this should be the correct answer for the question Commented Jan 30, 2023 at 15:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .