kaeruchan927
Dec 31 2004, 11:51 AM
I am trying to run a script (which uses other programs) with cron. The script works perfectly when I run it in a terminal, but fails when run from cron. It seems that one of the programs called by the script requires an "active" terminal to work smoothly. Is there anyway to trick it ?
Thanks in advance.
Termina
Dec 31 2004, 02:41 PM
I think I know what you mean, but can you clear some things up for me?
Would you be willing to post your script, so we might see what the problem might be?
What fails in the script itself? At what point does it stop? What Error messages do you get? I can't imagine why it would need an active terminal, unless it's trying to send alot of output to the screen. In which case, just have output go to /dev/null (* * * * 0 /root/script >> /dev/null 2>&1)