View Single Post
  #5   (View Single Post)  
Old 21st April 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,044
Default

The cron "system" usually includes an at(1) command.

Example:
Code:
$ echo sh bin/script | at 1am tomorrow
commands will be executed using /bin/ksh
job 1240290000.c at Tue Apr 21 01:00:00 2009
$
edit:

You can also use "now +" -- specific to your needs:

$ echo rm /path/to/file | at now + 48 hours

Last edited by jggimi; 21st April 2009 at 01:16 AM.
Reply With Quote