On Saturday 26 Mar 2011, Roshan wrote:
[snip] In this case, I would assume, it would not be wise to use CRON to schedule a one time task due to the above "OR" condition. (cron is a 'regular' habit for me ;) )
I think, using "at" is more apt for scheduling one time tasks? (Am I correct?)
But if the job were one-time, why add day of the week to the condition? To run moms_birthday.sh at 4pm on July 18, just schedule with:
00 16 18 07 * moms_birthday.sh
If you only want to run it this year, at(1) may be a better alternative; if you want to continue running it every year, use cron.
Regards,
-- Raj