- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cron woes
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО06-05-2011 03:12 AM
тАО06-05-2011 03:12 AM
cron woes
I have a script that needs to be run at 3AM. It has to be run as the oraprod user. So, I open crontab, # crontab -e oraprod - set all the settings, (full path and everything) - make sure oraprod is in the cron.allow file, and let her rip. The script deosn't run. There is no fanfare in the log file, just,
CMD: /u03/oracle/oraprod/backup/do_backup.sh
> oraprod 12542 c Sun Jun 5 14:10:00 WAT 2011
< oraprod 12542 c Sun Jun 5 14:10:00 WAT 2011 rc=1
Any ideas?
Ron
- Tags:
- crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 04:50 AM
тАО06-05-2011 04:50 AM
Re: cron woes
If would be helpful to see the actual script. You might temporarily add 'set -x' to it and let 'cron' mail that trace to you.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 08:21 AM
тАО06-05-2011 08:21 AM
Re: cron woes
I believe rc=1 just means your script has failed. Try running it from the command line directly to make sure it's doing what you think it should.
Hth,
-klb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 08:27 AM
тАО06-05-2011 08:27 AM
Re: cron woes
thanks for your help guys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 08:28 AM
тАО06-05-2011 08:28 AM
Re: cron woes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 09:42 PM
тАО06-05-2011 09:42 PM
Re: cron woes
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2011 04:19 AM
тАО06-06-2011 04:19 AM
Re: cron woes
Should we worry that 14:10:00 != 0300?