Re: howto start something 5 mins after boot
- From: Hugo Vanwoerkom <hvw59601@xxxxxxxxx>
- Date: Mon, 01 May 2006 15:20:35 -0500
Mumia W wrote:
Hugo Vanwoerkom wrote:Hi,
With crontab you can start things any time or day, but not in a relative way, e.g. 5 minutes after boot run a script.
How would you do that?
Thanks!
H
You could create a bootscript that uses the "at" command, like so;
/etc/init.d/mybootinit:
echo myscript | at now + 5 minutes
Of course you'd use update-rc.d to set the runlevels you want mybootinit to start in.
Thanks guys!
I did not know :-( about at.
So all things being equal, I went for this method.
H
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Re: howto start something 5 mins after boot
- From: Mumia W
- Re: howto start something 5 mins after boot
- Prev by Date: Re: DPI setting
- Next by Date: Re: OT: Politics [Was:Social Contract]
- Previous by thread: Re: howto start something 5 mins after boot
- Next by thread: Re: howto start something 5 mins after boot
- Index(es):
Relevant Pages
|