Re: how to use crontab and cron.daily

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 08 July 2006 01:50, Mikkel L. Ellertson wrote:
> 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

Thanks Mikkel, and you other guys. I'll set up nano as the editor tomorrow as 
it's gone 2:25 am here in France, and I'm losing the plot a bit.

Nigel.
> --
>
>   Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux