* Tom Gilbert ([EMAIL PROTECTED]) wrote:
> * Rick Denis ([EMAIL PROTECTED]) wrote:
> > hi all,
> > 
> > i want to run the following command once a day every day :
> > 
> > netdate ntp.nasa.gov
> > 
> > but i am confused as to which cron* file i have to edit. could you
> > please help me. thanks.
> > 
> > rick
> > 
> > ps i use SuSE 6.3
> 
> Edit /etc/crontab
> 
> Add the line:
> 
> 02 4 * * * username group netdate ntp.nasa.gov

Oops. Remove the group there. You don't need it. Use
02 4 * * * root netdate ntp.nasa.gov
 
> (That's 2 minutes past 4 in the morning, every day)
> 
> Then read the cron documentation (man cron) :)
> 
> Tom.
> -- 
>             .-------------------------------------------------------.
>     .^.     | Tom Gilbert, England | [EMAIL PROTECTED] |
>     /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
>    // \\    | Sites I recommend:   `--------------------------------|
>   /(   )\   | www.freshmeat.net www.enlightenment.org slashdot.org  |
>    ^^-^^    `-------------------------------------------------------'
Tom.
-- 
            .-------------------------------------------------------.
    .^.     | Tom Gilbert, England | [EMAIL PROTECTED] |
    /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
   // \\    | Sites I recommend:   `--------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org slashdot.org  |
   ^^-^^    `-------------------------------------------------------'

Reply via email to