-
help required to set a crontab entry
Hi,
I want to set a cronjob entry such that the job runs at 9:30, 10:30 and 16:00 for all days, all months, all weekdays.
Please find the below entry:
0,30 9,10,16 * * * /some/script/or/command
I think the above entry would run at 9:00,9:30,10:00,10:30,16:00,16:30.
How can I modify the above entry to run at 9:30,10:30 and 16:00.
Please suggest.
Thanks in Advance,
Aakriti
-
Originally Posted by getnami
Hi,
I want to set a cronjob entry such that the job runs at 9:30, 10:30 and 16:00 for all days, all months, all weekdays.
Please find the below entry:
0,30 9,10,16 * * * /some/script/or/command
I think the above entry would run at 9:00,9:30,10:00,10:30,16:00,16:30.
How can I modify the above entry to run at 9:30,10:30 and 16:00.
Please suggest.
Thanks in Advance,
Aakriti
Sure you can, just break it up into two lines.
Code:
30 9,10 * * * /some/script/or/command
0 16 * * * /some/script/or/command
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|