- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cron Job Scheduel
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
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
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
тАО12-12-2008 05:54 PM
тАО12-12-2008 05:54 PM
I would like to schedule a cronjob which will execute the job every friday & Saturday every 30 Min.
So can i use 30 * * * 5,6 ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 06:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 09:20 PM
тАО12-12-2008 09:20 PM
Re: Cron Job Scheduel
0,30 * * * 5,6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 09:21 PM
тАО12-12-2008 09:21 PM
Re: Cron Job Scheduel
15,45 * * * 5,6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 06:13 AM
тАО12-13-2008 06:13 AM
Re: Cron Job Scheduel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 06:18 AM
тАО12-13-2008 06:18 AM
Re: Cron Job Scheduel
A crontab file has five fields for specifying day , date and time followed by the command to be run at that interval.
cat
* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 06:26 AM
тАО12-13-2008 06:26 AM
Re: Cron Job Scheduel
Duh! I'm sorry, Dennis is correct. You said *every* 30-minutes, not only at 30-minutes after the hour.
/* no points for my mistake nor this correction, please */
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 09:08 AM
тАО12-13-2008 09:08 AM
Re: Cron Job Scheduel
0,30 * * * 5,6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 10:23 AM
тАО12-13-2008 10:23 AM
Re: Cron Job Scheduel
If you want "...every friday & Saturday every 30 Min" then:
0,30 * * * 5,6
If you want "...1.00 AM on Friday until saturday frequency s every 30 min"...
If you mean 1:00am Friday until midnight Friday (i.e. until Saturday), then:
0,30 1-23 * * 5
(this will not run at 00:00 Saturday)
If you mean something else, you're going to have explain it again, and be very precise in your description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 05:25 PM
тАО12-13-2008 05:25 PM
Re: Cron Job Scheduel
0,30 1-23 * * 5 # (this will not run at 00:00 Saturday)
Yes, 23*2 times. If you want to run one more time, you would need to add another line in crontab. Or you could expand the times in crontab and do the fine checking in your script.