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
Forums
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
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
04-27-2005 07:13 AM
04-27-2005 07:13 AM
crontab
I have a problem with my crontab.
An oracle user talk to me and said the crontab execute an wrong time.
Is it possible???
O.S.: Hp-ux 11.23 (RX-2600 - Server)
The crontab:
00 01 15 04 5 /hmlgcontrole/AtualizaBases/Simulado/ImpUserSim
The /var/adm/cron/log
> CMD: /hmlgcontrole/AtualizaBases/Simulado/ImpUserSim
> oracle 10648 c Fri Apr 22 01:00:00 SAT 2005
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 07:17 AM
04-27-2005 07:17 AM
Re: crontab
(I believe this is correct)
So, 0100 hrs, 15th day of the Month of April on Friday.
This won't happen again for 7 years...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 07:19 AM
04-27-2005 07:19 AM
Re: crontab
time is wrong - can't have month/week/day all set....
Try
00 01 15 04 *
etc...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 07:19 AM
04-27-2005 07:19 AM
Re: crontab
Check the system time.
this link will help you make sure you are okay
http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FB2355-60105%2Fcron.1M.html&aid=SEARCH_MANUAL&pil=4&serStr=crontab
the code should execute at 1 a.m.
I think the leading zeros are superfluous but should not mess anything up.
If your clock is drifting, consider installing and using ntp
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
04-27-2005 07:37 AM
04-27-2005 07:37 AM
Re: crontab
You syntax does **NOT** mean only on Friday April 15 at 1:00 AM.
What you have will run at 1:00 AM on April 15 AND ALSO EVERY FRIDAY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 07:57 AM
04-27-2005 07:57 AM
Re: crontab
Note that the
specification of days can be made in two fields: monthday and weekday.
If both are specified in an entry, they are cumulative. For example,
0 0 1,15 * 1 command
runs command at midnight on the first and fifteenth of each month, as
well as every Monday. To specify days in only one field, set the
other field to asterisk (*). For example,
0 0 * * 1 command
runs command only on Mondays.
Best regards,
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 11:40 PM
04-27-2005 11:40 PM
Re: crontab
Since the crontab file implies that the script should be run at 0100 hrs on 15th of April and every FRIDAY, so there is nothing wrong.
~suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 01:07 AM
04-28-2005 01:07 AM
Re: crontab
I have recently faced a smiliar kind of issue, where the first part of the script was aborted due to tape drive problem and this lead to the second part to be executed early as compared to the previous times when the script used to run properly.To the endusers, in a whole it gives the impression that the script has run on wrong time.
Cheers,
Himanshu