Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9E6F342BA298562DA3C580D9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

Charlie McElfresh schrieb:

> I wrote a perl script to get a news show I like.  When I run it, it del=
etes
> yesterday's copy of the show, and downloads the new copy.  The script w=
orks
> fine.  I run the script as myself (charlie), charlie owns it, and it's
> chmod'd 0755.  Works fine.
>=20
> I can't get cron to run it, though.  Here's the cron process running on=
 my
> machine:
>=20
> charlie@dash$ ps auxwww | grep cron
> root      413  0.0  0.1  1364   892  ??  Ss    5Jan07 =20
> 0:06.57/usr/sbin/cron -s
>=20
> And here's charlie's crontab, to run at 7:17 mon - fri
>=20
> 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

--=20
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=DFe 51                         Web:  http://www.rz.tu-clausthal.d=
e
38678 Clausthal-Zellerfeld, Germany


--------------enig9E6F342BA298562DA3C580D9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig9E6F342BA298562DA3C580D9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45BF9EB9.3000909>