- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Scheduled conjobs do not run
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
Forums
Discussions
Discussions
Discussions
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
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
05-24-2004 09:21 PM
05-24-2004 09:21 PM
Scheduled conjobs do not run
We scheduled few cron jobs which were beeing executed fine. But since few weeks they do not seem to run. I checked the /var/adm/cron/log file and I can see the job has been scheduled for the correct time.
CMD: "name for the command and path"
> root 20536 c Tue May 25 16:47:00 WST 2004
< root 20536 c Tue May 25 16:47:00 WST 2004 rc=1
But I can the rc=1 and the job does not get executed.
What should I check for this. Thanks in advance for your help.
Indira A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 09:28 PM
05-24-2004 09:28 PM
Re: Scheduled conjobs do not run
using cron you do not have your environnement variables as PATH and so on. You have to specified the path of each command or to include variable definition in your script.
Johan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 09:32 PM
05-24-2004 09:32 PM
Re: Scheduled conjobs do not run
Eg:- This is how we schedule.
30 01 * * 1 /usr/local/bin/bootable_tape.sh > /usr/local/logs/bootable_tape.log
In order to schedule a ignite tape creation jon wvery monday morning at 01:30 hours.
Indira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 09:54 PM
05-24-2004 09:54 PM
Re: Scheduled conjobs do not run
rc=1 means that the command that has been executed exited with returncode equal to 1.
This means you must check your script and its logfile to find the error. According to the cron logfile, the job exits almost immediately. Is there a command 'exit 1' in the script? An easy way to see how far the script gets is adding a 'set -xv' command at the beginning. It will show all commands being executed.
Are ALL root's cronjobs failing? Any messages in syslog at that time?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 02:32 PM
08-29-2004 02:32 PM