- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- crontab entry help
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
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
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
11-26-2010 08:24 AM
11-26-2010 08:24 AM
crontab entry help
i want schdule monitoring script every two hour.kindly help below mention is correct or not
* */2 * * * /monitoring script/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2010 08:33 AM
11-26-2010 08:33 AM
Re: crontab entry help
With HP-UX you must write something like:
* 0,2,4,6,8,10,12,14,16,18,20,22 * * * monitor.sh
See the manpages for 'crontab(1)'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2010 08:43 AM
11-26-2010 08:43 AM
Re: crontab entry help
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2010 08:53 AM
11-26-2010 08:53 AM
Re: crontab entry help
Unfortunately this works for Linux, not HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2010 11:54 PM
11-26-2010 11:54 PM
Re: crontab entry help
For HPUX, you need to add each 2s for your command as the following 0,2,4,6,8,10,12,14,16,18,20,22
so, the command it may likes
* 0,2,4,6,8,10,12,14,16,18,20,22 * * * xx.sh
Regrads,
Zohair
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-27-2010 01:19 AM
11-27-2010 01:19 AM
Re: crontab entry help
min:hrs:day:month:dayofweek /path
0,5,10,15 **** /tmp/monitor.sh
regards
MC
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP