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
11-11-2003 03:43 PM
11-11-2003 03:43 PM
#crontab -l
15,30,45,59 10-11 * * * /u/pinguin/bin/ochkdb.sh
Why my cronjob still running at 11.15 and so on ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:49 PM
11-11-2003 03:49 PM
Solution10:15
10:30
10:45
10:59
11:15
11:30
11:45
11:59
everyday. When did you want it to run? just within the 10 o'clock range, every 15 minutes? Why not use:
0,15,30,45 10 * * * /u/pinguin/bin/ochkdb.sh
?
Or better yet, as it's probably got a non-archaic cron daemon:
*/15 10 * * * /usr/pinguin/bin/ochkdb.sh
This doesn't check to see if the program was running from the previous invocation of course. If it takes longer than 15 minutes to run, maybe you should throw some starts in ochkdb.sh instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:54 PM
11-11-2003 03:54 PM
Re: Crontab
man 5 crontab - explains in detail.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 05:22 PM
11-11-2003 05:22 PM
Re: Crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 05:25 PM
11-11-2003 05:25 PM
Re: Crontab
I'm reasonably certain that you can't wrap the 24 hour barrier (i.e. '6-3'), thus the two ranged-hours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 04:59 PM
11-12-2003 04:59 PM
Re: Crontab
How to write the crontab script if i want to run my cron job every 15 minute except at 4-5 am ???
I read that as being he doesn't want it running between the hours of 0400 and 0500 -- ie. no run from 04:00:00 - 04:59:59. So, you left an hour out of your range.
*/15 0-3,6-23 * * *
should be
*/15 0-3,5-23 * * *
to include the 5am to 5:59am time frame.
man 5 crontab doesn't say anything about wrapping across midnight and I assume you are correct on that matter BECAUSE it isn't mentioned.
G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 05:01 PM
11-12-2003 05:01 PM