- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cron issue
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
04-21-2005 12:09 AM
04-21-2005 12:09 AM
I am experiencing unusual cron behaviour where my script is scheduled to run every 15 minutes but doesn't run. However when I run this script manually it works fine, therefore the cron simply isn't picking up/runninng my script. All other cron jobs are running fine.
There are no entries in the cron log either.
Below is an example of my cron log entry:
01,16,31,46 * * * * /u2/wwcus/scripts/ftp-to-edi.pl
Rgds,
Dermot
Solved! Go to Solution.
- Tags:
- cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:14 AM
04-21-2005 12:14 AM
Re: Cron issue
1. Is there a command in the script that requires you to be in a particular directory? Make sure you use complete paths.
2. Does the script depend on a user's .profile having been run? Cron doesn't work this way.
Have you checked /var/adm/cron/log to see if it is trying to run the program?
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:18 AM
04-21-2005 12:18 AM
Re: Cron issue
you might use
01,16,31,46 * * * * /u2/wwcus/scripts/ftp-to-edi.pl > /place/to/log/ftp.log 2>&1
to check if anything is logged then...
hope it helps
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:56 AM
04-21-2005 12:56 AM
Re: Cron issue
Problem resolved.
I re-entered the entry into the cron and stopped and started the cron and everything now seems to be working fine.
Kind Rgds,
Dermot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:58 AM
04-21-2005 12:58 AM