Re: Cron job? or something else? help..

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



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 ?
>   

put a script in rc.local thats run with a 'detach', eg, a trailing &, 
and in this script, have something like...

    sleep 10m
    /path/to/rest-of-your-commands


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux