Jul 24, 2006 #1 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.
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.
Jul 24, 2006 1 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB 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. Upvote 0 Downvote
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.