- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Cron Job Scheduel
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
Cron Job Scheduel
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-12-2008 06:03 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-12-2008 09:20 PM
12-12-2008 09:20 PM
Re: Cron Job Scheduel
Re: Cron Job Scheduel
0,30 * * * 5,6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-12-2008 09:21 PM
12-12-2008 09:21 PM
Re: Cron Job Scheduel
Re: Cron Job Scheduel
15,45 * * * 5,6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2008 06:13 AM
12-13-2008 06:13 AM
Re: Cron Job Scheduel
Re: Cron Job Scheduel
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2008 06:18 AM
12-13-2008 06:18 AM
Re: Cron Job Scheduel
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2008 06:26 AM
12-13-2008 06:26 AM
Re: Cron Job Scheduel
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2008 09:08 AM
12-13-2008 09:08 AM
Re: Cron Job Scheduel
Re: Cron Job Scheduel
0,30 * * * 5,6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2008 10:23 AM
12-13-2008 10:23 AM
Re: Cron Job Scheduel
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-13-2008 05:25 PM
12-13-2008 05:25 PM
Re: Cron Job Scheduel
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-14-2008 08:44 PM
12-14-2008 08:44 PM
Re: Cron Job Scheduel
Re: Cron Job Scheduel
This is the correct way to schedule job
0,30 * * * 5,6 /fullpath of u r command/script
Suraj
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP