cronjob prob


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers cronjob prob
# 1  
Old 01-11-2006
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
# 2  
Old 01-11-2006
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.
# 3  
Old 01-11-2006
Thanks RTM

but the script doent use ssty anywhere.

It used to work fine earlier .

What could be the other reason
# 4  
Old 01-11-2006
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to cancel a cronjob if the cronjob still running

hi everyone I'm newbie in this forum hope I can get some help here :) I have a command in crontab that executed every 1 minute sometime this command need more than 1 minute to finish the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies

2. Solaris

Solaris 8 prob

Pls tell me how can i recover adeleted user in solaris 8. Please help me I'm a newby thanks aamer (4 Replies)
Discussion started by: aamer
4 Replies

3. Solaris

mount prob

# mount /dev/dsk/c1d1s1 /mnt mount: /dev/dsk/c1d1s1 is not this fstype I tried to mount the above raw patition and it gave an error. but can someone help (3 Replies)
Discussion started by: seyiisq
3 Replies

4. Shell Programming and Scripting

sorting prob

my sample is 01012007 01022007 02022007 01032007 20022007 02032007 01092007 05022007 30022007 which is date in ddmmccyy format i try to sort like this sort -n +0.2 -0.5 +0.0 -0.3 file but the results are not correct pls help...... (3 Replies)
Discussion started by: paresh n doshi
3 Replies

5. UNIX for Dummies Questions & Answers

prob's with while loop

Hi Gurus, I have a requirement where I have files in a folder For example in home/input i have files 20080111.06.12.45_abc.xml 20080112.06.10.48_abc1.xml 20080113.06.08.55_abc2.xml 20080114.06.12.35_abc3.xml Actually i will get the files as abc.xml , i rename & put it with timestamp.... (2 Replies)
Discussion started by: pssandeep
2 Replies

6. Shell Programming and Scripting

Sorting prob

Hi I have a directory having following three set of files as follows: test.20060804 test.20060801 test.20060802 I want to list the latest file which is less than 20060803. in this case, it will be test.20060802. How can i achieve the same? Any pointers to above will be appreciated. ... (7 Replies)
Discussion started by: Vikas Sood
7 Replies

7. Shell Programming and Scripting

prob with ssh

I am executing this on say host1 export dn=/home/abhi export fn=file\"*\" file_path=$dn/$fn set -A files $(ssh host2 "eval echo $file_path") echo files= ${files} So the purpose is to store in array "files" .. the o/p of cmd executed in host2... this script works fine if the files r... (1 Reply)
Discussion started by: abzi
1 Replies

8. AIX

memory prob

There is problem in my system whenever i run a command lsattr -El mem0 it shows 3gb memory and when i run lscfg -vp | grep Size it shows 8 modules of 512 mb. it means it shows 4 gb how is it possible. (1 Reply)
Discussion started by: vjm
1 Replies

9. UNIX for Dummies Questions & Answers

grep prob

hi, how can i saerch for foll pattern the line contains many entries: xxx xxxx ddd ffff gggg 30% rr eeee eeee rrrr rrrr 100% rr eeee eeee rrrr rrrr 43% how can i display lines having size greater than 40%?what pattern shud i use in grep? thanks! regards vivek.s (1 Reply)
Discussion started by: vivekshankar
1 Replies

10. Shell Programming and Scripting

prob

When i am trying to $uncompress tress.dmp.Z I am getting tress.dmp.Z permission denied. What action i have to perform to unzip or uncompress It has rw-r--r-- permissions When i am trying to change the permissions chmod 744 it says. chmod: Warning: can't change tress.dmp.Z Just... (1 Reply)
Discussion started by: dreams5617
1 Replies
Login or Register to Ask a Question