Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crontab -e 1

Status
Not open for further replies.

ashley75

Technical User
Oct 4, 2002
94
US
Hi all,

when I do crontab -e , I can't get into the edit mode and it only return 273 with nothing else.

when I do crontab -l and the jobs are there.

Please help.

 
What's your default EDITOR (echo $EDITOR). If it's not vi try:

export EDITOR=vi

and then try crontab -e again. Incidentally, crontab -e isn't the safest way to edit your crontab if you're new to the game. You could:

crontab -l > newcron

then vi (edit) newcron and apply it using:

crontab newcron

Good idea to keep a copy of the original crontab -l too, in case anything goes wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top