Thanks
Kerr
>Michael A. Dias wrote:
>>
>> I have a csh script on SunOS that runs fine interactively,
>> but does not fire from crontab. It's a csh script, which
>> I start with #!/bin/csh, but it still doesn't fire, and I
>> get no error indications. Any ideas?
Or put this in your cron:
/bin/csh /path/to/script/script
In article <4v21mt$8...@hacgate2.hac.com>, md...@alycia.andrew.cmu.edu (Michael A. Dias) writes:
- I have a csh script on SunOS that runs fine interactively,
- but does not fire from crontab. It's a csh script, which
- I start with #!/bin/csh, but it still doesn't fire, and I
- get no error indications. Any ideas?
In the .cshrc files and its include bits, refrain from doing things like
stty which only work on a controlling terminal. use tty -s to find out if
some such is available.
Better still, start the script with #!/bin/csh - to suppress reading
the .cshrc file, if your csh allows that.
Thomas
--
*** Why not use metric units and get things right first time, every time.
* email: cma...@ic.ac.uk (Thomas Sippel - Dau)
* voice: +44 171 594 6904 (day), +44 171 594 6958 (fax), +44 171 385 6540
* snail: ICSTM, Computing Services, Kensington SW7 2BX, Great Britain