>I have been working with the cron script for running htdig on a 
>Solaris 8 server.  I have been looking through the archives of this 
>newsgroup to find anything, but haven't found the answer to my 
>problem as of yet.  Like some of the other people, the rundig script 
>works fine when run manually, but if run from cron, it completes 
>immediately and doesn't to the "dig" or the "merge".  Typically if a 
>script runs manually, but not through a cron it means that there is 
>an environment setting that is missed, but all of the paths are 
>explicitly stated in the cron script.

I had a problem with this on Mac OS X where the problem was apparently that sendmail 
is turned off by default. Cron attempts to route any output through sendmail, and 
htdig can create a lot of output.

I still don't know exactly what was happening. There were no errors reported that I 
could see; the htdig process simply disappeared after about five minutes--but of 
course it ran fine on the command line, where the output wasn't being routed through 
the broken sendmail.

My solution was to turn sendmail on. Once I did this, I had no more problems using 
rundig in cron.

Jerry
-- 
[EMAIL PROTECTED]
http://www.sandiego.edu/~jerry/
Serra 188B/x8773
--
"The major difference between a thing that might go wrong and a thing that cannot 
possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it 
usually turns out to be impossible to get at and repair."--Douglas Adams (Mostly 
Harmless)


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to