- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP/UX cron every five minutes
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
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
тАО03-28-2003 12:47 PM
тАО03-28-2003 12:47 PM
HP/UX cron every five minutes
TIA,
-dd
- Tags:
- crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 12:54 PM
тАО03-28-2003 12:54 PM
Re: HP/UX cron every five minutes
0,5,10,15...... * * * * command
Another option for you may be to use 'at' to schedule the job.
Once the job finished you could have it reschedule itself by doing something like:
at -f job_file_name now + 5 minutes
as the last line in the script.
See 'man at' for more information and examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 12:59 PM
тАО03-28-2003 12:59 PM
Re: HP/UX cron every five minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 01:12 PM
тАО03-28-2003 01:12 PM
Re: HP/UX cron every five minutes
This will cut down on the number of new processes that are created by cron.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 02:01 PM
тАО03-28-2003 02:01 PM
Re: HP/UX cron every five minutes
Just my advice.
5,10,15,20,25,.... isn't a workaround, it the right way to do it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2003 02:40 AM
тАО03-30-2003 02:40 AM
Re: HP/UX cron every five minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 04:16 AM
тАО03-31-2003 04:16 AM
Re: HP/UX cron every five minutes
From the (HP-UX) crontab(1) manual page:
> STANDARDS CONFORMANCE
> crontab: SVID2, SVID3, XPG2, XPG3, XPG4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 04:21 AM
тАО03-31-2003 04:21 AM
Re: HP/UX cron every five minutes
sorry to nitpick.
+++++++++++++++++
STANDARDS
The crontab command conforms to IEEE Std1003.2-1992 (``POSIX''). This
new command syntax differs from previous versions of Vixie Cron, as
well as from the classic SVR3 syntax.
+++++++++++++++++
from the crontab man page on a linux box. both satisfy standards, but it depends on which standard u decide.
hth
-balaji
(no, i am not starting a flame here.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 04:31 AM
тАО03-31-2003 04:31 AM
Re: HP/UX cron every five minutes
It would be interesting to know if the POSIX standard documents the "*/5" form which is the subject with this thread. I.e. the fact that Linux' crontab is POSIX conformant does not neccessarily mean that "*/5" is in the POSIX standard.
*Normally*, but not always, POSIX is a lower, i.e. less functionality, standard than XPG* (SVID* is not relevant if the functionality conforms to XPG*).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 05:43 AM
тАО03-31-2003 05:43 AM
Re: HP/UX cron every five minutes
this should be the only possible way on HP-UX (to date):
#*******************************************************************************
# min|hour |day |month|day |script
# | |of mo| |of wk|
#----|-----|-----|-----|-----|--------------------------------------------------
#*******************************************************************************
0,5,10,15,20,25,30,35,40,45,50,55 * * * * my_scr.sh 1>/home/yogeeraj/logfiles/output-myscr.crn 2>/home/yogeeraj/logfiles/error-myscr.crn
#*******************************************************************************
# min|hour |day |month|day |script
# | |of mo| |of wk|
#----|-----|-----|-----|-----|--------------------------------------------------
#*******************************************************************************
#*******************************************************************************
# END OF TABLE day0->Sunday day6->Saturday
#*******************************************************************************
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2003 07:11 AM
тАО03-31-2003 07:11 AM
Re: HP/UX cron every five minutes
unfortunately HP-UX uses a "dated" cron version (or to put it more friendly, a more coservative).
Belaji has already cited that the improved cron Linux and the free *BSDs use originated from Paul Vixie, thus usually called vixie-cron.
Since the vixie-cron hasn't been maintained for the last couple of years either the GNU FSF intends to replace it by gcron
http://www.gnu.org/software/gcron/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2014 06:26 AM
тАО07-08-2014 06:26 AM
Re: HP/UX cron every five minutes
Thanks for this .its working fine.