Re: timer command?
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
> jbmaxson@surfglobal.net
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: