Hi, I have a ISPconfig on a Ubuntu server based on the How to Perfect Setup tutorials. When I do crontab -e it opens up in Midnight Commander (great for filebrowsing), but I want it to open in the VI-editor: How do I change the setting? Since it is not supported from the ISPConfig admin screens: What is the best place to put my own daily crontab jobs for my websites? (www.site.com/update.php etc) (in the ISP crontab or the etc/cron.daily?) and how should I configure it. Thanks, Jang
Do this: Code: rm -f /etc/alternatives/editor ln -s /usr/bin/vi /etc/alternatives/editor You can either put a shell script in /etc/cron.daily, it will be called everyday between 6.00h and 7.00h in the morning, or you run Code: crontab -e and put your cron job there (which gives you more flexibility as to when you want to run it).
It took me a while but i already did it like this: update-alternatives --config editor and edited the crontab -e like you suggested. Thx, Jang