> Greetings,
> I am running 5.1-release.  I created the file 
> /var/cron/tabs/root .  It is owner root, group wheel. 
> permissions are -rw-------
> 
> I have the following entry in the file root
> 
> 0 22 2-31 * * /usr/local/bin/rsync -av /dept2/Marketing/ 
> /data/Marketing
> 2>&1 /r
> oot/rsync.log
> 
> Of course the line above is all on one line.
> 
> Well, this command did not run last night.  No 
> /root/rsync.log file was created. No email was generated.  Zip.
> 
> what did I screw up to prevent cron from running the command ?
> 

As far as I know, you should never manually create a crontab file.  Normal
users should just type crontab -e on a command line for scheduling.  The
same might apply to root, never tried personally.  One sure fire way to get
it working is to add your above line to /etc/crontab with root in the user
column.  This is not normally recommanded, so you might try doing crontab -e
as root first.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to