- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- new crontab entries not executing
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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