Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Cron Job
kaeruchan927
post Dec 31 2004, 11:51 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 31-December 04
Member No.: 4,416



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.
Go to the top of the page
 
+Quote Post
Termina
post Dec 31 2004, 02:41 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



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)


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 07:47 PM