Re: [foxboro] Editing Crontab
- From: "Doucet, Terrence" <tdoucet@xxxxxxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Sun, 20 Jan 2008 13:41:35 -0500
You can change the default editor for your shell.
For cshell edit .cshrc (note the period)
EDITOR=VI
so that when you enter the command
crontab -e
you will be using vi and not the "e" editor which is a very difficult editor.
Terry
While the method you list will work, when you use crontab -e, you're
using the old "ed" editor. When "ed" first came out it was considered
to be very user friendly - if it didn't understand something you typed
it said "?" <grin>. My method will let you use vi or textedit on a
normal text file and then reload it to crontab when you're done.
It'd also be a good idea to save a copy of the crontab before changing
it - crontab -l > /opt/home/crontab.save or something similar
depending on where you normally save files to.
Cheers,
Kevin FitzGerrell
-- No attachments (even text) are allowed --
-- Type: application/ms-tnef
-- File: winmail.dat
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- Follow-Ups:
- [foxboro] smon_log file not recording error messages
- From: Kashif Ijaz
- References:
- Re: [foxboro] foxboro Digest V8 #11
- From: Rguercio
- [foxboro] WP51B not booting up after restore
- From: Kashif Ijaz
- Re: [foxboro] WP51B not booting up after restore
- From: Boulay, Russ
- [foxboro] FW: WP51B not booting up after restore
- From: Kashif Ijaz
- Re: [foxboro] FW: WP51B not booting up after restore
- From: Mostafa mohamed
- [foxboro] Editing Crontab
- From: Kashif Ijaz
- Re: [foxboro] Editing Crontab
- From: foxpat
- Re: [foxboro] Editing Crontab
- From: Kevin Fitzgerrell
Other related posts:
- » Re: [foxboro] Editing Crontab
- » Re: [foxboro] Editing Crontab
- » Re: [foxboro] Editing Crontab
- » Re: [foxboro] Editing Crontab
- » Re: [foxboro] Editing Crontab
- » Re: [foxboro] Editing Crontab
- » Re: [foxboro] Editing Crontab
- [foxboro] smon_log file not recording error messages
- From: Kashif Ijaz
- Re: [foxboro] foxboro Digest V8 #11
- From: Rguercio
- [foxboro] WP51B not booting up after restore
- From: Kashif Ijaz
- Re: [foxboro] WP51B not booting up after restore
- From: Boulay, Russ
- [foxboro] FW: WP51B not booting up after restore
- From: Kashif Ijaz
- Re: [foxboro] FW: WP51B not booting up after restore
- From: Mostafa mohamed
- [foxboro] Editing Crontab
- From: Kashif Ijaz
- Re: [foxboro] Editing Crontab
- From: foxpat
- Re: [foxboro] Editing Crontab
- From: Kevin Fitzgerrell