Date: Wed, 07 Apr 1999 13:11:28 +0300 From: "Andy V. Oleynik" <andyo@prime.net.ua> To: Jamie Norwood <mistwolf@ethereal.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Weird crontab/script problem Message-ID: <370B2F4F.3A8990DC@prime.net.ua> References: <19990407013721.A15530@ethereal.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jamie Norwood wrote: > OK, I have a script I have written to send out some pings and record the > results. When I run it by hand, it works fine. When I put it in a crontab, it > never does anything. > > The script is simple and is as follows: > > --- > #/usr/local/bin/tcsh > > ping -c 100 208.166.54.1 > /tmp/ping.`date +%m.%d.%H.%M` > --- > This simplest command could be executed from crontab itself, isnt it? > > And the crontab: > > --- > > */5 * * * * /home/mistwolf/bin/pinggate > > --- > > Oddly, the following cron entry works fine: > > --- > > */5 * * * * touch /home/mistwolf/.crontouch > > --- > > Why? > > -- > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d- s+:+ a--(?) C++++ UB++++ P+ L--(++) E-- W++(--) N++ O? > K w(---) O?>+ M?>+ V PS+ PE+ Y+ PGP->++ t+(*) 5+++ X++ R++ tv+ > b+ DI++++ D++ G e>+ h--- r+++ y+++** > ------END GEEK CODE BLOCK------ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office U have good chance to obtain virtual money ö%-) 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?370B2F4F.3A8990DC>