- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- run cron job every 5 minutes between 6 am and 6 pm...
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
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
- 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
07-28-2014 05:40 PM
07-28-2014 05:40 PM
run cron job every 5 minutes between 6 am and 6 pm - M-F in HPUX 11.31
I need to run a cron job every 5 minutes, between 6 am and 6 pm AND every M-F
0,5,10,15,20,25,30,35,40,45,50,55 6-17 * * 1-5 /scripts/mycronjob.sh
00 18 * * 1-5 /scripts/mycronjob.sh
is the solution I have come up with... is this correct?
Thanks!
D
- Tags:
- crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2014 09:21 PM
07-28-2014 09:21 PM
Re: run cron job every 5 minutes between 6 am and 6 pm - M-F in HPUX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2014 02:13 AM
07-29-2014 02:13 AM
Re: run cron job every 5 minutes between 6 am and 6 pm - M-F in HP-UX 11.31
>is the solution I have come up with... is this correct?
It sure looks like it. You cover 6 PM with the second line. And this only runs M through F.