On Thu, 1 Oct 1998 13:28:36 -0700 (PDT), Adam Crews wrote:

> Cron is not the problem.  bash/csh is not the problem....
> the default rundig scrit has a typo.
> 
> the very first line should read 
> #!/bin/sh
> instead of
> #! /bin/sh
> 
> There is another bug though with the 5.x vixie cron... it was not reading
> the scripts properly so the #!/bin/whatever was not getting called
> properly..
> 
> upgrading cron and fixing header of the script is what worked for me.

I'm not using the rundig script ... I wrote my own using pieces of
rundig since I do some additional processing after the dig/merge (like
extracting the bad links section from the htdig output and mailing it
myself, etc..).

So my script initially used bash to do the htdig, htmerge, etc...and
htmerge would fail when run from cron.   After upgrading cron it still
failed.  Now that I'm running it from csh everything is working fine.

Switching from bash to csh (and possibly the cron upgrade) fixed my
problem.   Being somewhat new to Linux I have no idea *why* that fixed
it, but I'm happily digging away in cron now.   :)

Lisa
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Lisa Applegate                   [EMAIL PROTECTED]
Computer Systems Administrator    309.346.4745 voice
Pekin School District 108        309.346.0853 fax
Pekin, Illinois                  http://www.pekin.net  

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to