Andrew Wallis andrew.wallis@vulpes.demon.co.uk wrote:
Basically, the script works fine in the foreground; it works fine under "at now +1 minute"; it works fine under "batch" BUT it always fails when run under cron.
This makes me think that something wants a tty. I've had similar problems trying to run lynx from cron (don't ask). I don't remember whether you can do something to how it's run from cron to give it one, or whether using something like nc (netcat) instead of telnet may work for you instead.