S
S
sstotenkopf2017-04-05 20:54:52
linux
sstotenkopf, 2017-04-05 20:54:52

Is it possible to set cron to execute a script every 5 minutes, but without executing it immediately after loading?

Hello, I have never asked this question before, but today I noticed that when setting the cron to execute the script every 5 minutes, the first time it is executed immediately after the reboot, is it possible to somehow set the first execution after the first five minutes after the reboot? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-04-05
@sstotenkopf

Cron has nothing to do with this; your script should not be executed after loading - the check should take place inside the script

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question