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.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to