- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Question on crontab usage
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
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
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
тАО05-10-2004 07:19 PM
тАО05-10-2004 07:19 PM
OS Type : Tur64 Unix V5.1
My cron entry are as follows ;
00,15,30,45 08-00 * * *
The job gets started at 08.00am, 08.15,08.30,08.45, 09.00,09.15,09.30,09.45....so on until it reaches at 11.45pm and it stops and it will continue next day at 08.00am again.
I want it to run at 12 midnight as well before starting at 08.00am the next day.
Is definition in the crontab wrong ?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 07:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 07:45 PM
тАО05-10-2004 07:45 PM
Re: Question on crontab usage
In that case you need to have 2 entries starting at midnight and other at 8 a.m.
you can't specify both midnight and 8 a.m in cron entry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:30 PM
тАО05-11-2004 02:30 PM
Re: Question on crontab usage
Depending on how long the job runs for you can add 59 after the 45, which will run the job at 11:59pm.
The only other option is to run the job one time, using another entry in the crontab.
I assume that you want a single entry because of the logs the job generates, in that case your best option is to go for the 11:59 option.
Regards,
Orrin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 04:43 AM
тАО05-12-2004 04:43 AM
Re: Question on crontab usage
take
0,15,30,45 8-23 * * *
0 0 * * *
if you do not want to run it at 00:30 and 00:45 and
0,15,30,45 0,8-23 * * *
if it does not matter.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 03:18 PM
тАО05-12-2004 03:18 PM
Re: Question on crontab usage
Thanks for all the help.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 10:42 PM
тАО05-12-2004 10:42 PM
Re: Question on crontab usage
I noticed, that you haven't used the point system so far to award points to those, who tried to help you. Please read the following text to understand the purpose of the points here:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 07:02 PM
тАО05-13-2004 07:02 PM
Re: Question on crontab usage
Thanks for getting me my 10 :-)
Have a good day
rgds
Mobeen