[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1831
  • Last Modified:

crontab

when I open the crontab using crontab -e and then I make the changes and then try to save the file and then do a crontab -l , the changes are not saved(after edit).

I am getting this error at the line that I changed
15 40  * * * /bin/ksh /g/ar/d01/test.ksh
crontab: error on previous line; number out of bounds.
crontab: errors detected in input, no crontab file generated.


PLEASE LET ME KNOW WHAT YOU THINK I STHE PROBELM. HOW CAN I FIX THIS

also I want to let u know that I login to a different id using ::sudo su - appid
and then do a crontab -e to edit the crontab
0
Sara_j_11
Asked:
Sara_j_11
  • 2
1 Solution
 
woolmilkporcCommented:
The second field is the HOUR ranging fom 0 to 23.

wmp
0
 
Sara_j_11Author Commented:
another interesting point is that I am able to delete a line from the crontab file and also able to delete the # symbol, and then save that. But when i try to change the time , ot file path , it does not change....
0
 
woolmilkporcCommented:
It's only the wrong field sequence!
Use 'man crontab'!
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now