Jeff Maxson wrote:
> 
> what would be a command (or script) which would execute a given command
> after a certain amount of time?  for example I want to run something like
> 
> ./offin 60 poff

You can use:
        yourprompt> sleep 3600 ; poff
or
        yourprompt> (sleep 3600 ; poff) &

60min -eq 60*60sec, sleep takes seconds as agument (man sleep)

Regards,
        Emil




> 
> where offin is a script/command, 60 is the # of minutes before "poff" is
> executed.
> 
> Jeff
> 
> --
> Jeff Maxson
> [EMAIL PROTECTED]
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to