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) > _______________________________________________ > email@example.com mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can you run the script with the -x option? eg. #!/bin/sh -x -Damian _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"