cron problem
Hi, I wrote a perl script to get a news show I like. When I run it, it deletes yesterday's copy of the show, and downloads the new copy. The script works fine. I run the script as myself (charlie), charlie owns it, and it's chmod'd 0755. Works fine. I can't get cron to run it, though. Here's the cron process running on my machine: [EMAIL PROTECTED] ps auxwww | grep cron root 413 0.0 0.1 1364 892 ?? Ss5Jan07 0:06.57/usr/sbin/cron -s And here's charlie's crontab, to run at 7:17 mon - fri 17 7 * * 1-5 /media/democracy_now/get_new_show.pl ? Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cron problem
Hi, Charlie McElfresh schrieb: I wrote a perl script to get a news show I like. When I run it, it deletes yesterday's copy of the show, and downloads the new copy. The script works fine. I run the script as myself (charlie), charlie owns it, and it's chmod'd 0755. Works fine. I can't get cron to run it, though. Here's the cron process running on my machine: [EMAIL PROTECTED] ps auxwww | grep cron root 413 0.0 0.1 1364 892 ?? Ss5Jan07 0:06.57/usr/sbin/cron -s And here's charlie's crontab, to run at 7:17 mon - fri 17 7 * * 1-5 /media/democracy_now/get_new_show.pl did you try to change the cronjob to something like that? 17 7 * * 1-5 /usr/bin/perl /media/democracy_now/get_new_show.pl Kind regards, Oliver -- Oliver Koch Phone: +49-(0)5323-72-2626 Computer Center Fax:+49-(0)5323-72-3536 Clausthal University of Technology E-Mail: [EMAIL PROTECTED] Erzstraße 51 Web: http://www.rz.tu-clausthal.de 38678 Clausthal-Zellerfeld, Germany signature.asc Description: OpenPGP digital signature
Re: cron problem
On Tuesday January 30, 2007 at 02:13:45 (PM) Charlie McElfresh wrote: I wrote a perl script to get a news show I like. When I run it, it deletes yesterday's copy of the show, and downloads the new copy. The script works fine. I run the script as myself (charlie), charlie owns it, and it's chmod'd 0755. Works fine. I can't get cron to run it, though. Here's the cron process running on my machine: [EMAIL PROTECTED] ps auxwww | grep cron root 413 0.0 0.1 1364 892 ?? Ss5Jan07 0:06.57/usr/sbin/cron -s And here's charlie's crontab, to run at 7:17 mon - fri 17 7 * * 1-5 /media/democracy_now/get_new_show.pl Do you have a MAILTO= in your cron. If not, I would suggest you put one there that points to you, i.e., if charlie is your logon name, have it point to charlie. Now, when your script either works or fails, you will receive a report of what transpired. -- Gerard Mail from '@gmail' is rejected and/or discarded here. Don't waste your time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix + cron problem
Oles Hnatkevych wrote: Hello all! There's a FreeBSD box with manually installed postfix-2.1.0. It works, except that cron can not send execution logs by email. The running user receives a message This is the Postfix program at host ... I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program unknown: No recipients specified with the original message in attachment. Something is wrong here. What can be done? Have you created an alias for root? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix + cron problem
Hello all! There's a FreeBSD box with manually installed postfix-2.1.0. It works, except that cron can not send execution logs by email. The running user receives a message This is the Postfix program at host ... I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program unknown: No recipients specified with the original message in attachment. Something is wrong here. What can be done? -- Oles mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]