Question

I just want to set a crontab using that I want to make a program run at every 15 minutes from 18:00 to 09:00
I have given this statement and waited but I don't think it is working

*/15 18-9 * * 1-6  Program_name

Any suggestion would be greatly appreciated

Was it helpful?

Solution

I don’t think ranges can wrap around like that. Specify the hour as 0-9,18-23 instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top