Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 09-27-2005
vino's Unix or Linux Image
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 12 March 2015, 5:33 AM EDT
Location: Sydney, Down Under
Posts: 2,848
Thanks: 0
Thanked 13 Times in 13 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 Unix and Linux 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 Unix and Linux 09-27-2005
Perderabo's Unix or Linux Image
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 8 August 2015, 12:06 PM EDT
Location: Ashburn, Virginia
Posts: 9,931
Thanks: 64
Thanked 450 Times in 264 Posts
Hint: ". $HOME/.profile"
Sponsored Links
    #5  
Old Unix and Linux 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 02:34 AM
Inappropriate ioctl for device RishiPahuja Shell Programming and Scripting 11 03-19-2008 10:47 PM
Inappropriate ioctl for device at contactme UNIX for Dummies Questions & Answers 0 03-26-2007 10:22 AM
Inappropriate ioctl for device spoonman UNIX for Dummies Questions & Answers 0 08-23-2006 09:39 AM
Inappropriate ioctl for device tojaiganesh Filesystems, Disks and Memory 4 03-17-2005 04:23 PM



All times are GMT -4. The time now is 04:56 PM.