Help - Search - Members - Calendar
Full Version: Cron Job
Linuxhelp > Support > Technical Support
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.
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)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.