Home > Q&A > body text
How to write an execution every 5 minutes between 9 pm and 8 am the next day? ?
ringa_lee2017-06-16 09:20:45
Write them separately, because the time range is 0-23, so it cannot span the number of days.
0-23
*/5 0-8,21-23 * * * commands
高洛峰2017-06-16 09:20:45
0 */5 21-8 * * ?
phpcn_u15822017-06-16 09:20:45
Um,:
*/5 0-8,21-23 * * * cmd