Re: htdig: crontab problem solved!??

Lisa Applegate (
Fri, 02 Oct 1998 12:14:05 -0500

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 Applegate
Computer Systems Administrator 309.346.4745 voice
Pekin School District 108 309.346.0853 fax
Pekin, Illinois

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

This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:28:28 PST