cron problem
Oliver Koch
koch at rz.tu-clausthal.de
Tue Jan 30 19:38:22 UTC 2007
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:
>
> charlie at dash$ ps auxwww | grep cron
> root 413 0.0 0.1 1364 892 ?? Ss 5Jan07
> 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: koch at rz.tu-clausthal.de
Erzstraße 51 Web: http://www.rz.tu-clausthal.de
38678 Clausthal-Zellerfeld, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070130/1a018b4e/signature.pgp
More information about the freebsd-questions
mailing list