The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sorting prob Vikas Sood Shell Programming and Scripting 7 08-04-2006 12:13 PM
DNS prob - dig process unknown2205 Shell Programming and Scripting 1 03-03-2006 07:56 AM
prob with ssh abzi Shell Programming and Scripting 1 01-23-2006 11:43 PM
memory prob vjm AIX 1 09-27-2005 06:38 AM
prob dreams5617 Shell Programming and Scripting 1 12-04-2004 11:31 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-11-2006
Registered User
 

Join Date: May 2005
Posts: 46
cronjob prob

Hi all

I am getting the following error when i execute my cronjob :


stty: : No such device or address
stty: : No such device or address

What could be the problem.

Thanks
Rahul
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-11-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
The problem is you are attempting to set a terminal parameter without a terminal associated with the process. If you are sourcing your .profile (or appropriate file for the shell you are using), check that this file doesn't do any stty command (such as stty erase ^H) which won't work (and cause errors) in a script running in cron.
Reply With Quote
  #3 (permalink)  
Old 01-11-2006
Registered User
 

Join Date: May 2005
Posts: 46
Thanks RTM

but the script doent use ssty anywhere.

It used to work fine earlier .

What could be the other reason
Reply With Quote
  #4 (permalink)  
Old 01-11-2006
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
It will help us if we can see the entry for the job in your crontab, and also the script (if it's a script) that's causing the problem.

Cheers
ZB
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0