- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: new crontab entries 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
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
тАО01-27-2005 07:04 PM
тАО01-27-2005 07:04 PM
new crontab entries not executing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:12 PM
тАО01-27-2005 07:12 PM
Re: new crontab entries not executing
crontab -l to list the crontab entries
check the logs for any failures !
restart cron daemon
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:14 PM
тАО01-27-2005 07:14 PM
Re: new crontab entries not executing
check the servers for
/var/adm/cron/cron.allow and var/adm/cron/cron.deny
make sure at least one of these files is present.
make sure the user is defined in the cron.allow or exluded in the cron.deny.
restart the crondaemon.
/sbin/init.d# ./cron stop;./cron start
regards.
Henk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:16 PM
тАО01-27-2005 07:16 PM
Re: new crontab entries not executing
have little info on the issue, so maybe some useless comments:
- use "crontab -e" to edit the crontab, not "vi /var/spool/cron/crontabs/user" which does not refresh the current cron.
- define all your environment variables in your script, remember cron only gives you a naked environment
- check /var/adm/cron/log : did the cron job start, any return codes
- check logfiles or mail (/var/mail/username?) for messages from cron
...
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:37 PM
тАО01-27-2005 07:37 PM
Re: new crontab entries not executing
1. switch to user you run crontab
#su - user
#crontab -l
if crontab -l display result it means this user is allow to run crontab.
2. Check cron agetn
#ps -ef|grep cron
root 1566 1 0 Jan 26 ? 0:00 /usr/sbin/cron
root 16626 14846 1 15:30:14 pts/td 0:00 grep cron
3. Check crontab log
#vi /var/adm/cron/log.
You will find reason.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 09:22 PM
тАО01-27-2005 09:22 PM
Re: new crontab entries not executing
surjeet