- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Who Me Too'd this topic
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
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
Community
Resources
Forums
Blogs
Who Me Too'd this topic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2012 06:32 AM
10-08-2012 06:32 AM
Crontab for certain user doesn't work
Hi, I am unable to create a job for certain user (oracle), this user is in /usr/lib/cron/cron.allow, cron service is running and work for other users (such as root), the crontab file is in /usr/spool/cron/crontabs as expected. The crontab log has entry for each execution but the file is NOT executed.
I inserted to beginning of script:
#!/bin/sh
echo `date` >> /some/path/log
(where /some/path is a path for log file), when I start the script from terminal it create an entry in this log file, it never creates an entry when it is running from cron, therefore the script isn't executed.
Is there a way to check why it happens?
This is a log from cron:
> CMD: /usw/app/oracle/admin/CRMISEF1/statspack/test.sh >> /usw/app/oracle/admin/CRMISEF1/statspack/sh.log 2>/dev/null
> oracle 21019 c Mon Oct 8 15:58:00 METDST 2012
< oracle 21019 c Mon Oct 8 15:58:00 METDST 2012 ts=9
- Tags:
- cron