- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cron jobs not executed for specific user
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
тАО10-12-2009 11:51 PM
тАО10-12-2009 11:51 PM
We have noticed that none of them is executed any more as scheduled, whereas as manual commands are successful.
Even simple commands under this user's crontab (eg date) are not executed whereas under another crontab with same group and same shell are successful.
Restarting cron daemon does not have any result and
ps -ef|grep cron
shows
# ps -ef|grep cron
root 13824 13798 0 17:10:25 pts/1 0:00 grep cron
root 16891 1 0 11:35:35 ? 0:01 /usr/sbin/cron
Can you please advice on what the problem can be?
Solved! Go to Solution.
- Tags:
- cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:08 AM
тАО10-13-2009 12:08 AM
Re: Cron jobs not executed for specific user
Second you will have to tell how u scheduled the jobs...
crontab -e or crontab filename
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:13 AM
тАО10-13-2009 12:13 AM
Re: Cron jobs not executed for specific user
you could use su - $user and all your defined crontab scripts could be running under root crontab.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:35 AM
тАО10-13-2009 12:35 AM
Re: Cron jobs not executed for specific user
In the past everything was working properly.
Is it possible that any cron job of this user is hanged and causes the rest of them not to be executed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:40 AM
тАО10-13-2009 12:40 AM
Re: Cron jobs not executed for specific user
when you executing the script manually,
under which user and how ??
sh shell_script.sh
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:41 AM
тАО10-13-2009 12:41 AM
Re: Cron jobs not executed for specific user
If cron.allow is exist then put the user entry & restart the cron daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:25 AM
тАО10-13-2009 01:25 AM
Re: Cron jobs not executed for specific user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 01:52 AM
тАО10-13-2009 01:52 AM
Re: Cron jobs not executed for specific user
Is it possible that any cron job of this user is hanged and causes the rest of them not to be executed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 02:47 AM
тАО10-13-2009 02:47 AM
Re: Cron jobs not executed for specific user
You say cron.allow is OK then
What can you see when examine the logs related with your user:
more /var/adm/syslog/syslog.log
more /var/adm/cron.log
OR
cat /var/adm/cron.log | grep -i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 02:49 AM
тАО10-13-2009 02:49 AM
Re: Cron jobs not executed for specific user
try this with user root if you can afford it ?
and write here what is your exactl line in cronjob ?
crontab -e ?