I
I
Ivan Maltsev2016-05-22 22:32:18
ubuntu
Ivan Maltsev, 2016-05-22 22:32:18

crontab at 2 o'clock in 2 days how?

Question like this: I want crontab to restart the server in 2 days at 2am.
Is line
0 2/48 * * * /sbin/reboot
correct?)
Just when I looked at the info on crontab, I didn’t see anywhere that 2/48 was indicated. Is this true at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Beriger, 2016-05-22
@Beloborod

Just put the step in days:
0 2 */2 * *

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question