looking for some solutions? You are welcome.

SOLVED: Crontab execute every 15 minutes for two days

Smith Dwayne:

After reading crontab manual I used the following command to execute my process for every 15 minutes from 18:00 to 23:00 of a day.

MIN      Minute field    0 to 59
HOUR     Hour field      0 to 23
DOM      Day of Month    1-31
MON      Month field     1-12
DOW      Day Of Week     0-6
CMD      Command         Any command to be executed.

My command,

*/15 18-23 * * * myexec

I want to run my process from the time 18:00 of the day to early morning 01:30 of next day. I want to run this each and every day. How do I do this?

Second Question, If I run this the above process only for weekdays, Is my following command is right?

*/15 18-23 * * 1-5 myexec

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: