Re: htdig: About the Cron Jobs


Palle Girgensohn (girgen@partitur.se)
Thu, 03 Dec 1998 23:01:00 +0100


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
htdig-request@sdsu.edu 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:29:46 PST