Date: Wed, 4 Oct 2006 16:53:55 -0500 From: Damian Wiest <dwiest@vailsys.com> To: freebsd-questions@freebsd.org Subject: Re: Strange cron behavior Message-ID: <20061004215355.GB16074@dfwdamian.vail> In-Reply-To: <20061004102339.GB20990@teddy.fas.com> References: <20061004000523.GA5229@teddy.fas.com> <20061003232147.R65965@bravo.pjkh.com> <20061004102339.GB20990@teddy.fas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 04, 2006 at 06:23:39AM -0400, stan wrote: > On Tue, Oct 03, 2006 at 11:22:29PM -0500, Philip Hallstrom wrote: > > >I'm having a hard time getting cron to run a task. I've run crontab -e > > >(as root), and added the following line: > > > > > >12 * * * * /usr/local/bin/mirror_ubuntu > > > > > >This script runs from teh command line. Now I've seen plenty of > > >strange beahviour because of the limited environment cron tasks > > >get, but a basic "echo "test" >> /tmp/stan isn't even creating > > >the file. > > > > > >Sugestions? > > > > Is the cron daemon running? What is the output in /var/log/cron? > > > Forgot to mention that. Yhe script does get listed in /var/log/cron > as having been invoked. > -- > Unix is very simple, but it takes a genius to understand the simplicity. > (Dennis Ritchie) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Can you run the script with the -x option? eg. #!/bin/sh -x -Damian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061004215355.GB16074>