[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cron is anoying me. Advice please.



Meni Shy wrote:
> 
> Ahalan ILUG,
> 
> when my cron (RedHat 4.2) encouters a script in tcsh I get these two line
> from cron in my mail -
> 
> LS_COLORS=: Command not found.
> export: Command not found.

make sure the #! line in your script is "#!/bin/tcsh -f" .
And check whether your .cshrc or one of the files it sources is
a bourne shell rc file instead of a [t]csh file.

Gaal