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
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
02-20-2002 07:42 PM
02-20-2002 07:42 PM
03 11 * * * /usr/bin/ok >> /home/pin/ok.log 2>&1
0,5,10,15,20,25,30,35,40,45,50,55 * * * * ping 202.96.232.8 -n 2 >> /home/pin/ping.log 2>&1
/usr/bin/ok is a shell script
i find second mission is done,and i can find ping.log,but first mission is not done,i cant find ok.log.
why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 07:48 PM
02-20-2002 07:48 PM
Re: cron job
Can you show us your ok script?
Are there any errors (RC return codes)in your /var/adm/cron/log? Check whether there was any RC return code worth referring to.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 07:49 PM
02-20-2002 07:49 PM
Re: cron job
#chmod 777 /home/pin/ok.log (atleast give write permission to ok.log)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 07:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 07:55 PM
02-20-2002 07:55 PM
Re: cron job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 08:07 PM
02-20-2002 08:07 PM
Re: cron job
i wanna know if i want to start at 08:30am everyday,
30 08 * * * ,isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 08:20 PM
02-20-2002 08:20 PM
Re: cron job
The crontab entry you have is correct:
30 8 * * * /usr/bin/yourprogram
The man page indicates all of this information:
The entries are:
MIN HOUR DAYOFMONTH MONTH WEEKDAY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 08:33 PM
02-20-2002 08:33 PM
Re: cron job
why 30 8 * * * /usr/bin/yourprogram
does not work
however 0,5,10,15 * * * */usr/bin/yourprogram
work well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 08:36 PM
02-20-2002 08:36 PM
Re: cron job

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 08:39 PM
02-20-2002 08:39 PM
Re: cron job
Thu Feb 21 07:42:42 EST 2002
# date -u
Thu Feb 21 12:42:46 UTC 2002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 08:43 PM
02-20-2002 08:43 PM
Re: cron job
