Answer the question
In order to leave comments, you need to log in
How to make a cron job run every minute, but from 8 to 9 am daily?
Hi
I'm setting up the execution of the script by cron on the hosting.
You need to execute the script according to the following schedule:
Answer the question
In order to leave comments, you need to log in
Once every 30 seconds, it won’t come out directly (well, except for the trick with sleep), and the rest is crontab -e , there is usually a hint there even where to write
In the heading "every minute"
* 8,9 * * * echo cron
About 30 seconds, an explanation is here:
stackoverflow.com/questions/9619362/running-a-cron...
About 30 seconds I will not say, I do not know. For the rest , this article should help.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question