On 2/9/07, Jacob Albretsen <[EMAIL PROTECTED]> wrote:
> So the cron I asked for help on at the beginning of this week has issues
> again, but I think I've narrowed them down to system issues.
>
> I ran it on my desktop for a few days, and when I look at /var/logs/syslog, it
> shows as it ran.  This is on Ubuntu Edgy 64-bit.
>
> Now I put it on the server where we want it to run, Ubuntu 6.06 Server, under
> a normal user, and it doesn't run.  Nothing shows up in syslog as even trying
> to run it.  I've also tried outputting stdout and stderr to files, and the
> files are not even created/modified.  I know cron is running on this server
> because I have put things in /etc/cron.daily and /etc/cron.weekly and they
> work just fine.
>
> I've done some google-ing and I can't see anything I am missing.  There are no
> cron.deny or cron.allow files, and the crontab is listed
> in /var/spool/cron/crontabs.  I've also tried /etc/init.d/cron restart.
> Perhaps I've missed something completely obvious?
>
> [EMAIL PROTECTED]:~$ crontab -l
> # m h  dom mon dow   command
> 0 11 * * * /path/to/getdata

I'd add "[EMAIL PROTECTED]" to the top of the file and
see if cron emails you any errors.

Is there any possibility that your script is actually running, but
"failing" with a success status for some reason before it actually
does its work?

~ Nathan
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to