[ubuntu-za] cron tutorial or Ubuntu 7.04
Herman Gouws
hermang at adsmr.co.za
Fri Aug 17 08:20:00 BST 2007
>On Friday 17 August 2007 08:00:35 William Kinghorn wrote:
>> Hi Jason,
>>
>> I am trying to run a debmirror script to update my mirror.
>>
>> I am wanting to run the script as root at midnight everyday.
>crontab -e
>59 * * * * /usr/scripts/mirror_ubuntu.sh
>also see
>man 5 crontab
Shouldn't that be 59 23 * * * /usr/scripts/mirror_ubuntu.sh ?
As written above the script would run once per hour.
Also, to add it to root's crontab, use
sudo crontab -e
Hope that helps...
Herman Gouws
More information about the ubuntu-za
mailing list