Re: howto start something 5 mins after boot
Am 2006-04-30 15:54:38, schrieb Hugo Vanwoerkom:
> 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?
----8<------------------------
#!/bin/bash
fnc()
{
sleep 300
YOUR_SCRIPT_HERE
}
fnc &
disown
exit 0
----8<------------------------
then call the script from whatever runlevel you want...
like
/etc/rc2.d/S99zzzz-yourscript
which would probably run as last...
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: