Link to home
Start Free TrialLog in
Avatar of Sara_j_11
Sara_j_11

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sara_j_11
Sara_j_11

ASKER

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....
It's only the wrong field sequence!
Use 'man crontab'!