Re: Replacing crontabs

  • From: "E.J. Zufelt" <everett@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 7 Jan 2009 18:24:29 -0400

On the same note, I find that nano is very easy to use with OpenSSH for Windows.


Everett


----- Original Message ----- From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Wednesday, January 07, 2009 6:15 PM
Subject: Re: Replacing crontabs


I don't know how to do that, but if you want to use nano or pico for editing crontab files, you can do:

In your home directory, edit the file .bash_profile and add the following lines:

export VISUAL=/usr/bin/nano
export EDITOR=/usr/bin/nano

Then save the file and re-login with your username.

Each time you will want to make changes to the crontab, you will just need to do:

$ crontab -e

This will open crontab in nano. You can edit it then save it with Control+X like any other file. I don't know what putty can do, but with SecureCRT you can even paste text from the Windows clipboard to nano.

Octavian

----- Original Message ----- From: "Eileen Lafond" <Eileen.Lafond@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Wednesday, January 07, 2009 11:36 PM
Subject: Replacing crontabs


Hi,
I use Putty and JAWS version 9. JFW does not work well with the VI editor so what I do is the following when I need to replace the crontabs:

crontab -l > myfile

I then make all my changes in UltraEdit.

The problem now is that I cannot find my documentation as to how to put the new crontabs back to replace the old ones. I think that it is the following:

crontab myfile

I am not sure though. Can anyone help me with this? I know that it is a very simple statement to get this done, but...

Thanks for any help.

Eileen La Fond
Phone (206) 386-0011
e.mail Eileen.LaFond@xxxxxxxxxxx

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: