I'm partial to
echo $0 | at now + 18 hours
since it continues to work even if the script gets moved/renamed and I forget to change self references inside the script. Data duplication is bad. ;) This is assuming the use of a shell that puts the command in $0, obviously.
It might be a good idea to touch a file (/var/state/scriptname, perhaps) to ensure that the script's running periodically, and have a cron job that sends a warning email if that file's older than 18 hours or so...
--Danny, who also dislikes here documents, in general Interesting. I don't think the command format you used is specified in the man pages. If it is, I missed it ...and I read it all. -- ...CH "The more they over-think the plumbing,
On Wednesday 04 August 2004 13:15, Danny Sauer wrote: <SNIP> the easier it is to stop up the drain." Scotty