Re: Q: How to fix stubborn crontab corruption?,
marimba> Upon exiting crontab -e (EDITOR=vi) I get
marimba> the message "The editor indicates that an
marimba> error occurred while you were editing the
marimba> crontab data - usually a minor typing
marimba> error. Edit again, to ensure crontab
marimba> information is intact (y/n)? ('n' will
marimba> discard edits.)"
Well, either you really have an error somewhere in
the crontab file (impossible to say without seeing
the file), or...
check the exist status of "vi some_file" after
writing the file. Should be 0 if it wrote OK. If
it wrote OK, but the status *isn't* zero, then you
have a vi with an exit problem...
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien. | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds! | private email: