- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- crontab error
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
тАО08-30-2001 09:45 PM
тАО08-30-2001 09:45 PM
I am running HPUX 11.0. I have tried to edit the crontab file. "crontab -e" as the user root.
However, when I close and save the file I get the following error message "crontab: error on previous line; number out of bounds."
Anyone seen this before? Anyone know how to fix it?
Thanks in advance
maria
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 09:50 PM
тАО08-30-2001 09:50 PM
Solutionminute hour monthday month weekday command
minute -> 0-59
hour -> 0-23
monthday -> 1-31 (but dependent on month below)
month -> 1-12
weekday -> 0-6
See if you have gone out of range on any of the fields.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 09:52 PM
тАО08-30-2001 09:52 PM
Re: crontab error
i.e. a minute with value 66 or an hour with value 26
Check and correct your values
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 09:57 PM
тАО08-30-2001 09:57 PM
Re: crontab error
I realised my error after I published it.
I think I am getting tired.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 10:28 PM
тАО08-30-2001 10:28 PM
Re: crontab error
You may verify the values of first 5 columns :
First column : 0-59 minutes
Second column : 0-23 hours
Third column : 1-31 day in month
Forth column : 1-12 Month
Fifth column : 0-6 weekday ( 0 is Sunday ).
Notice:
1. Star "*" in column, instanciates all values for that interval.
2.You still can give for each column, a list of values separated by comma. Like :
0,15,30,45 8,12,16,20 1,11,21,31 * * Command
Will execute command at 1, 11, 21 and 31 from each month at 8:00, 8:15, 8:30, 8:45, 12:00, 12:15, etc ... till 20:45.
Magdi