how to use crontab and cron.daily
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Fri Jul 7 23:50:11 UTC 2006
nigel henry wrote:
> On Friday 07 July 2006 22:43, Todd Zullinger wrote:
> Use crontab -e to edit your crontab. This will open your editor
> (specified by the $VISUAL or $EDITOR variables) where you can
> create/edit as you like. When you exit, your crontab will be
> installed. User crontabs are stored in /var/spoool/cron/$USER, IIRC.
>
>> Right. OK. Thanks to you Todd, and to Mikkel. I don't expect anyone to hold my
>> hand through this, but crontab -e brings up a blank page with some short line
>> markers on the left side, and "/tmp/crontab.3449" OL, OC at the bottom of the
>> page. How do I find out which editor this is using? I've used nano a bit, but
>> not vi, or emacs. I've been through man 5 crontab a few times, but it only
>> shows you the layout for setting up crontab.
>
>> A couple of hints would be usefull.
>
If you have not changed things, you are using a version of vi. You
can check that by running "echo $EDITOR" and "echo $VISUAL". If
nether command returns anything, then you have not set the editor to
use, so it defaults to vi. If you want to use Nano, then try running
"export EDITOR=nano" before running "crontab -e". For the format you
need in the file, try "man 5 crontab" and see if that helps..
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
More information about the fedora-list
mailing list