[CentOS] Cron job? or something else? help..
Michel van Deventer
michel at van.deventer.cxMon Dec 14 07:51:20 UTC 2009
- Previous message: [CentOS] Cron job? or something else? help..
- Next message: [CentOS] Cron job? or something else? help..
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, On Mon, 2009-12-14 at 09:46 +0200, Roland Roland wrote: > Hello, > > i have a certain issue at hand that i'm trying to solve. > > there's a certain command that i need to execute 10 minutes after boot. > how can i set that? im not very expert with cron jobs but can it be done > that way? i know that cronjob works on specified time but how can i set > it to run with '10 min after startup" as a condition ? There's no such option in cron. But the easiest way to do this is to put it in /etc/rc.d/rc.local like this : sleep 600 && <command> this waits 600 seconds and (if succesfully) executes your command Regards, Michel
- Previous message: [CentOS] Cron job? or something else? help..
- Next message: [CentOS] Cron job? or something else? help..
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list