Cron and cvsup
mark at blackmans.org
Tue Aug 17 18:16:24 BST 2004
On 17 Aug 2004, at 12:51, Grant wrote:
> Grant wrote:
>> Tom Hukins wrote:
>>> On Tue, Aug 17, 2004 at 11:59:43AM +0100, Grant wrote:
>>>> I just added that line to /etc/crontab
>>>> 5 0 * * * root
>>>> /usr/local/bin/cvsup -g -L 2 /data/cvsfiles/cvs-portsupdate
>>>> Is there anyway i could test that line other than waiting till
>>>> 12:05 ?
>>> You could change the time to 10 minutes in the future and check it
>>> runs. Alternatively, you might find crontab2english useful:
> I tried the setting it 10minutes in the future and it worked perfect :)
> Looks like i had been putting the my cron lines in the wrong file...
as an aside, /etc/crontab is meant for very general purpose system
activites (and the cvsup update is appropriate for that), the user
crontabs (like root) should be edited with 'crontab -e' (assuming
you're running as the appropriate user).
The cvsup update job would also have been appropriate in the
root crontab as well, so that wasn't the main issue.
> But now its all working.
> Thanks all for the help
> ------ FreeBSD UK Users' Group - Mailing List ------
More information about the Ukfreebsd