Solved cron not running

pkg install rsync

Code:
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD$
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
#
#minute    hour    mday    month    wday    who    command#
#
25             12        *           *            *           root     /usr/local/bin/rsync -a /usr/home/hack /mnt/bak

My hard-drive is mounted by fstab at /mnt/bak.

My rsync doesn't not run at all. I can't figure out why

Update: when running the cron as user and not as root rsync executes.
 
Last edited by a moderator:
Back
Top