[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: howto start something 5 mins after boot

Mumia W wrote:
Hugo Vanwoerkom wrote:

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?



You could create a bootscript that uses the "at" command, like so;

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.

Reply to: