(Update): cron question: first Sunday of every month
2007-12-25 11:59:00
>cron with a single entry ( even though one or two persons suggested
>it's possible).
>
>One possible method is to run the cron on every Sunday, and check
>within the script whether it is the first Sunday.
Well, there were many more mail suggesting a single entry will do it.
I tested it and it works. So you can either set up a single entry in
the cron tab like
0 3 1-7 * 0 command (with appropriate redirection)
or
0 3 1-7 * * shell-script
where the script check for Sunday. You can also do it run on Sundays,
checking for first 7 days.
Thanks to all the replies.
Comments
Got something to say?
You must be logged in to post a comment.

