Atis <[EMAIL PROTECTED]>: > [snip] > > > >00 06 * * * [ `date -d tomorrow +%d` -eq '01' ] && /the/script > > > > > > > >for 6:00 AM on the last day of each month > > > > when you have multiple commands on a line with && between them, it > > Damn, so this is just a cheat, as the actual command is
Why is this "just a cheat"? crond executes all the time as a daemon. anacron when a not always running system comes back to life. That's how they're supposed to work. You can control how they do what they do when they're intended to do it. Where's the cheating? [ "$your_son_is_a_megalomaniacal_murderer" ] && disown_him As long as your son's not an ultra-jerk, you get to keep him. Testing to see if he is says nothing about him until he becomes one. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. Spammers! http://www.spots.ab.ca/~keeling/emails.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]