Date: Fri, 15 Jun 2001 22:14:49 -0400 From: Peter Kok <cckok00@hotmail.com> To: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: what's wrong for the cron job Message-ID: <3B2AC119.5322D810@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hi all I run cron job in accordance to the http://www.mostgraveconcern.com/freebsd/ Create /usr/local/bin/cvsrun: #!/bin/sh echo Subject: `hostname` weekly cvsup run output /usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile Make the scripts executable by root only: # chown root:wheel /usr/local/bin/cvsrun # chmod u+x /usr/local/bin/cvsrun 5.Edit /etc/crontab to run CVSup every Friday night: # Run cvsup every Friday night at 10:00 pm. 0 22 * * 5 root /usr/local/bin/cvsrun | sendmail root But I received the following message of mail? >Subject: Cron <root@peter> root /usr/local/bin/cvsrun | sendmail root >root: not found >sendmail: not found Could you tell me what wrong i did? Tks regards Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B2AC119.5322D810>