Thanks for this info. 

However, I don't see why sh would give more problems than csh. It sounds
weird. Could there be some ulimits settings?

/Palle


"Majeau, Benoit" wrote:
> 
> Hi,
> 
> If you are experiencing problems to run "rundig" from a cron job (getting
> some weird errors like "Word Sort Failed"), simply run the script from a
> "csh" (C shell).
> 
> In other words, do these modifications in your rundig script.
> 
> 1-      Change the first line "#!/bin/sh" to this "#!/bin/csh"
> 
> 2-      Some "sh" commands do not work in the "csh". So we have to translate
> them:
> 
> -       An if statement is different. It looks like this:
> 
>                                 if (expr) then
>                                     cmds
>                                 endif
> 
> -       To set an environment variable, the command to use is "setenv" and
> not "export"
> 
>                         So this:                        TMPDIR = /path/tmp;
> export TMPDIR
>                         Would become this:              setenv TMPDIR
> /path/tmp
> 
> At least, it is working for me (I'm using linux).
> 
> Cheers,
> 
> Benoit
> 
> P.S .: Thanx to Lisa Applegate and Adam Crews for the help
> P.S.S.: I have attached a sample of my script if you need some inspiration
> ;)
>  <<rundig.txt>>
> 
>   ------------------------------------------------------------------------
> 
>    rundig.txtName: rundig.txt
>              Type: Plain Text (text/plain)
----------------------------------------------------------------------
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