- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cronfile not executing
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
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
11-21-2002 07:57 AM
11-21-2002 07:57 AM
cronfile not executing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 07:59 AM
11-21-2002 07:59 AM
Re: cronfile not executing
"cron invokes the command from the user's HOME directory"
I would suggest re-loading your crontab with "crontab -r" followed by "crontab (cronfilename)".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:00 AM
11-21-2002 08:00 AM
Re: cronfile not executing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:03 AM
11-21-2002 08:03 AM
Re: cronfile not executing
change the permission
to the new home directory
example of cron job :
00 23 * * 1,2,3,4,5 /home/BACKUP/creadirbackup 1>/tmp/back.log
#10 23 * * 1,2,3,4,5 /home/BACKUP/moves 1>/tmp/back.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:06 AM
11-21-2002 08:06 AM
Re: cronfile not executing
can you attach a output file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:37 AM
11-21-2002 08:37 AM
Re: cronfile not executing
it probably is still pointing to the old path name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 09:39 AM
11-21-2002 09:39 AM
Re: cronfile not executing
I'm not sure if just simple reloading coronfile will do the trick. If it uses $HOME, it is environement variable, so it won't be changed until real process restart, I'm affraid. but absolute paths are always accurate.
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:14 PM
11-21-2002 08:14 PM
Re: cronfile not executing
I agree with Adam !!!
I have seen several problem with path in crontab and the solution was absolute path name.
-Niraj