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 looked into the source code for that error, and it comes when the
pclose in htmerge/words.cc fails. Anyone know why a unix shell would
effect the outcome of a pclose?
-Adam
On Thu, 1 Oct 1998, Lisa Applegate wrote:
| On Tue, 29 Sep 1998 18:32:05 -0500, Brian Litke wrote:
|
| > I went and updated to the same version of vixie cron and I'm still getting
| > the error message. I started off with a Redhat 5.0 distribution. Do you
| > know if there are any other modifications you have made that might have
| > affected htdig?
|
| What shell are you using for the cron script?
|
| I also am running htdig with Redhat 5.0, and was having the exact same
| "htmerge: Word sort failed" problem when I ran htdig from cron. When
| I would run the htdig script manually everything was fine, but it
| consistently failed from cron. When I saw Jeff's post about updating
| vixie-cron and that fixing his problem, I checked my version and found
| that it was back level so I upgraded to vixie-cron-3.0.1-26 as well.
|
| But that didn't fix it, as I still got that pesky htmerge error. So
| then I tried running the script from csh, rather than bash, and lo and
| behold, the htmerge error went away and everything updated correctly.
|
| So I don't know if running it under csh would have fixed the problem
| for me to begin with, or if the vixie-cron update and switching to csh
| was the magic combination, but at any rate htdig is working in cron
| for me 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.
|
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.