Schalk Erasmus wrote:

I've got a Script that is suppose to run every day:

The script works, when I login as root and run it manually!

# /etc/crontab - root's crontab for FreeBSD
# $FreeBSD: src/etc/crontab,v 2000/12/08
#minute hour    mday    month   wday    who     command
30      7       *       *       *       root    /MIRRORS/

BUT, it can't find the command: rsync

        -----Original Message-----
        From: Cron Daemon
        Sent: 18 June 2003 07:30 AM
        To: root
        Subject: Cron <root> /MIRRORS/

        Mirroring Exim Site...
        rsync: not found

        Mirroring Apache Site...
        rsync: not found

In the script, use the full path to rsync: i.e. instead of 'rsync /from/here /to/here' do '/usr/local/sbin/rsync /from/here /to/here'

Bill Moran
Potential Technologies

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to