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
-- 
Raj Mathur                [email protected]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to