- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bizarre cron problem - script running
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-01-2004 08:34 PM
04-01-2004 08:34 PM
I have created a specific user for these, and this is the crontab for that user:
10 20 * * * * /home/transfer/overnight_transfer
The problem I have, is that this isn't actually the job that runs, it runs /home/transfer/frontend_transfer instead. The cron log confirms what it says in cron:
> CMD: * /home/transfer/overnight_transfer
> transfer 14605 c Thu Apr 1 20:10:00 BST 2004
frontend_transfer was created by copying overnight_transfer, would this have anything to do with it?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:35 PM
04-01-2004 08:35 PM
Re: Bizarre cron problem - script running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:41 PM
04-01-2004 08:41 PM
Re: Bizarre cron problem - script running
How did you edit you cron, cronab -e or vi.
Try restarting the crond.
# /sbin/init.d/cron stop
# /sbin/init.d/cron start
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:45 PM
04-01-2004 08:45 PM
Re: Bizarre cron problem - script running
Do you have any link inside the script pointing there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:47 PM
04-01-2004 08:47 PM
Re: Bizarre cron problem - script running
The server reboots every morning as part of the backup schedule, so cron is being restarted every day.
I simply cp'd the file, and edited the copy.
I don't have any links.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:56 PM
04-01-2004 08:56 PM
Re: Bizarre cron problem - script running
Run crontab -r for the user and then create again crontab entry with crontab -e
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 09:26 PM
04-01-2004 09:26 PM
Re: Bizarre cron problem - script running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 09:30 PM
04-01-2004 09:30 PM
Re: Bizarre cron problem - script running
10 20 * * * /home/transfer/overnight_transfer
-Tomek