Page 1 of 1

crontab -e on bolt

Posted: Sun Nov 27, 2011 2:12 pm
by dja
Just a few questions, are cron jobs supported on bolt.sonic.net?
how do you change your default editor for crontab -e?
I've edited my .bashrc file and exported my editor as vim but running crontab -e still opens up joe.
.....Oh yeah, I've also sourced my .bashrc file as I've noticed that it doesn't get source automatically when logging in, why is that?

Re: crontab -e on bolt

Posted: Mon Nov 28, 2011 1:08 pm
by kgc
Off the top of my head, I'm not sure if crontab -e uses VISUAL or EDITOR, but it's one of them.

In my .profile

EDITOR=vim; export EDITOR
VISUAL=vim; export VISUAL

Re: crontab -e on bolt

Posted: Thu Dec 01, 2011 12:19 am
by dja
Been kinda busy, just wanted to let you know that yes, that worked. Thanks a bunch for your help! I guess I just don't know how to use Joe. Cron jobs are working great now though. Thanks!