Inappropriate ioctl for device | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

Inappropriate ioctl for device

UNIX for Dummies Questions & Answers


Tags
inappropriate ioctl for device

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-27-2005
steelrose
Guest
 
Posts: n/a
Inappropriate ioctl for device

Hello,

I have a cron entry:

59 23 * * * . $HOME/.profile;mydate=`date '+%Y%m%d'`;mv filename filename_$mydate


Which works fine interactively, but gives me the following error when it runs in cron:

Your "cron" job on servername
. $HOME/.profile;mydate=`date '+

produced the following output:

stty: : Inappropriate ioctl for device



Anyone know what this error really means or better yet, how to correct it?

Thanks.
Sponsored Links
    #2  
Old 09-27-2005
vino's Avatar
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 9 April 2013, 8:19 AM EDT
Location: Sydney, Down Under
Posts: 2,847
Thanks: 0
Thanked 12 Times in 12 Posts
steelrose,

Please use the search facility of the forum.

If you havent used them yet, look at these
Inappropriate ioctl for device and yet another Inappropriate ioctl for device
Sponsored Links
    #3  
Old 09-27-2005
steelrose
Guest
 
Posts: n/a
I've looked at both of those before (and just now again to be sure). I understand that it is some sort of input looking for a terminal session, but I don't understand why it's treating the assignment as something needing a terminal.
    #4  
Old 09-27-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 24 November 2014, 10:48 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 64
Thanked 438 Times in 261 Posts
Hint: ". $HOME/.profile"
Sponsored Links
    #5  
Old 08-23-2006
pankaj001np pankaj001np is offline
Registered User
 
Join Date: Aug 2006
Last Activity: 21 September 2006, 2:38 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
cannot understand u

Quote:
Originally Posted by steelrose
I've looked at both of those before (and just now again to be sure). I understand that it is some sort of input looking for a terminal session, but I don't understand why it's treating the assignment as something needing a terminal.

hint is not enough
pleade support more thanks pankaj
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
hdparm + Inappropriate ioctl for device amio Shell Programming and Scripting 1 03-14-2009 03:34 AM
Inappropriate ioctl for device RishiPahuja Shell Programming and Scripting 11 03-19-2008 11:47 PM
Inappropriate ioctl for device at contactme UNIX for Dummies Questions & Answers 0 03-26-2007 11:22 AM
Inappropriate ioctl for device spoonman UNIX for Dummies Questions & Answers 0 08-23-2006 10:39 AM
Inappropriate ioctl for device tojaiganesh Filesystems, Disks and Memory 4 03-17-2005 05:23 PM



All times are GMT -4. The time now is 07:03 PM.