Crontab x minutes past every hour on Ubuntu

6

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.

omega1

Posted 2014-10-18T20:51:55.780

Reputation: 305

Answers

10

Just use 5 * * * *

the others are wilcards

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

Tyson

Posted 2014-10-18T20:51:55.780

Reputation: 1 304

0

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

You should try yourself here.

sachin sharma

Posted 2014-10-18T20:51:55.780

Reputation: 101

5 * * * * is simpler! – Toto – 2018-01-12T10:45:20.397