Hello.
I've placed rsync.sh as an executable script in /etc/rsync.sh
The script looks like this:
tail /var/log/cron looks alright?
But rsync never launches. Please wha am I doing wrong here?
Update: Can't get this cron to run as root. It only runs as user.
I've placed rsync.sh as an executable script in /etc/rsync.sh
The script looks like this:
#!/bin/bash
/usr/local/bin/rsync -a /usr/home/hack /mnt/bak
tail /var/log/cron looks alright?
Feb 23 16:43:00 astro /usr/sbin/cron[34574]: (root) CMD (/etc/rsync.sh)
Feb 23 16:44:00 astro /usr/sbin/cron[34906]: (operator) CMD (/usr/libexec/save-entropy)
Feb 23 16:45:00 astro /usr/sbin/cron[35219]: (root) CMD (/usr/libexec/atrun)
Feb 23 16:45:00 astro /usr/sbin/cron[35220]: (root) CMD (root /usr/libexec/atrun)
But rsync never launches. Please wha am I doing wrong here?
Update: Can't get this cron to run as root. It only runs as user.