Date: Tue, 30 Jan 2007 20:38:33 +0100 From: Oliver Koch <koch@rz.tu-clausthal.de> To: Charlie McElfresh <cwmcelfresh@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: cron problem Message-ID: <45BF9EB9.3000909@rz.tu-clausthal.de> In-Reply-To: <44b41e4e0701301113l15a03398o7e3aa2b9440edef0@mail.gmail.com> References: <44b41e4e0701301113l15a03398o7e3aa2b9440edef0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@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@rz.tu-clausthal.de Erzstraße 51 Web: http://www.rz.tu-clausthal.de 38678 Clausthal-Zellerfeld, Germany [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFv568F9sAGRi389URAhpQAJoCiiURsXPF+w0F4Jy9tqwotdym/gCfYLt5 sIJLrIlXbi0wWR+tbIhjg5I= =Ue9P -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45BF9EB9.3000909>
