Error On Previous Line Number Out Of Bounds
size Print E-mail Rate this item 1 2 3 4 5 (4 votes) Today I need to comment out a line in crontab in order to do a depolyment.After I changed crontab, I found I could't save the crontab with error message: 30 4 * * 7 /usr/bin/rm /opt/SUNWexplo/output/*gz ; /opt/SUNWexplo/bin/explorer -d /etc/opt/SUNWexplo/default/explorer crontab: error on previous line; number out of bounds. crontab: errors detected in input, no crontab file generated.Something is wrong with 30 4 * * 7, the last number means weeks, you can choose a number from 0-6 , 7 is out of bounds.I guess the guy modified crontab file directly instead of crontab -e and made a mistake.I changed 7 to 0 and issue fixed. minute (0-59), hour (0-23), day of the month (1-31), month of the year (1-12), day of the week (0-6 with 0=Sunday). Last modified on Tuesday, 11 October 2011 01:19 Read 17928 times Published in OS Tagged under Cron Andy Han I am a Unix/Linux administrator.I work for a UK company and I am based in Beijing China.I use this web blog as a memo of my daily work.Contact me at [emailprotected]
Website: andyhan.linuxdict.com Latest from Andy Han add mongodb monitoring into zabbix How to check if NUMA is enabled check ulimit of a running process sftp openssh chroot 配置 ubuntu ssh port forwarding Related items (by tag) ERROR: failed to open PAM security session: Success Cron job not running - c queue max run limit reached Cron: ERROR: failed to open PAM security session More in this category: « Cron job not running - c queue max run limit reached Solaris boot archive corrupted » Login to post comments back to top Copyright © 2016 andyhan's blog. All Rights Reserved. Contact me at [emailprotected] Friend Links Linux Dict Andy Li's Blog Hey Linux Andy Han Github Powered by Joomla!. valid XHTML and CSS.Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information Management IT Service Management Operations Management Server Management Software as a Service (SaaS) Software-Defined Data Center Storage Management All Software http://andyhan.net/index.php/sys-adm/item/112-crontab-error-on-previous-line-number-out-of-bounds Servers Rack Servers Tower Servers Blade Servers Density Optimized Mission Critical Servers Servers for Cloud Server Management All Servers Storage All-flash and Hybrid Storage Midrange and Enterprise Storage Entry Storage Systems Data Availability, Protection and Retention Software Defined Storage Management and Orchestration Storage Networking All Storage Networking Switches Routers Access Points and Controllers https://community.hpe.com/t5/System-Administration/crontab-error/td-p/2573339 Wireless LAN Campus and Branch Networking Data Center Networking Wide Area Network Software Defined Networking Network Functions Virtualization Network Management All Networking About UsSupportClearType to search2086159Solutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Enable Workplace Productivity Cloud Security Big Data Mobility Infrastructure Internet of Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information Management IT Service Management Operations Management Server Management Software as a Service (SaaS) Software-Defined Data Center Storage Management All Software Servers Rack Servers Tower Servers Blade Servers Density Optimized Mission Critical Servers Servers for Cloud Server Management All Servers Storage All-flash and Hybrid Storage Midrange and Enterprise Storage Entry Storage Syst
Join INTELLIGENT WORK FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! Talk With Other Members Be Notified Of ResponsesTo http://www.tek-tips.com/viewthread.cfm?qid=1075670 Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! error on Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. IBM: AIX Forum at Tek-Tips HomeForumsMIS/ITOperating Systems - UNIX basedIBM: AIX Forum Can't edit crontab thread52-1075670 Forum Search FAQs Links MVPs Can't edit crontab Can't edit crontab 50Antero (IS/IT--Management) (OP) 13 Jun 05 04:36 error on previous Hi !I'm trying to change time definition in crontab with crontab -e. When I save the file and check it with crontab -l it's still the same.I've used this crontab entry a couple of years now on this machine and on 10 others.I have space in /var and I've restarted cron process a couple of times.I'm thankful for any help receivedRegards Andy RE: Can't edit crontab Ogzilal (MIS) 13 Jun 05 05:18 Hi,Did you care about some error message like this when you save your modified crontab (in this case, the change is not made ):"/tmp/crontabaTDfaa" 62 lines, 2860 characters140 23 * * 1-5 /outils/savedm.ksh1>/dev/null 2>&1crontab: error on previous line; number out of bounds. RE: Can't edit crontab p5wizard (IS/IT--Management) 13 Jun 05 05:21 Check out /var/adm/cron/log - if you'va made any error, it should be in there.It would also be helpful if you post the crontab -e editing session - or just a few lines of it with what you are trying to do. Perhaps there is an illegal character somewhere in the text you're cutting&pasting... Or perhaps there is a