- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error from cron
Operating System - HP-UX
1753761
Members
4582
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2000 10:42 AM
тАО07-14-2000 10:42 AM
error from cron
I have a script that I can execute from a prompt but not from cron. When I attempt to execute it from cron I get this error:
sh: 1#drop: Generated or received a file descriptor number that is not valid.
Here is the crontab entry I'm using:
55 07 * * 1-6 su - oracle -c /u01/oracle/admin/TEST/scripts/drop_create.sql 2>&
1#drop and recreate oracle schemas
Any help on this error would be appreciated.
sh: 1#drop: Generated or received a file descriptor number that is not valid.
Here is the crontab entry I'm using:
55 07 * * 1-6 su - oracle -c /u01/oracle/admin/TEST/scripts/drop_create.sql 2>&
1#drop and recreate oracle schemas
Any help on this error would be appreciated.
If you can't face the facts, change them!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2000 10:49 AM
тАО07-14-2000 10:49 AM
Re: error from cron
Is there a space between the 1 and the #drop...?? If not, you need to add a space and retry.
I take it that you are trying to insert a comment by doing this.
I take it that you are trying to insert a comment by doing this.
"Downtime is a Crime."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2000 11:08 AM
тАО07-14-2000 11:08 AM
Re: error from cron
Cheryl nailed it. The shell is interpreting "1#drop" as a single file descriptor. Place a space before the # and you should be fine.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP