[nmglug] ssh server crontab

a a at kaluta.us
Fri Jan 22 17:27:45 PST 2010


Bill;
You may not have gotten that job in los Alamos sans the correct
editor,but you nailed the job here,that was the right answer,vi.
Thanks,Anthony

On Fri, 2010-01-22 at 10:52 -0700, Bill York wrote:
> sounds like you're in vi. the VISUAL or EDITOR environment variables
> specify which editor you get when you type crontab -e.
> 
> to save, quit, and install your changes:
> <ESC> 
> :wq<ENTER>
> 
> 
> On Fri, Jan 22, 2010 at 10:23 AM, a <a at kaluta.us> wrote:
>         Swimming in unfamiliar waters here.
>         
>         Once logged on via ssh to server, then inputing the following:
>         "crontab
>         -e" something comes up which is not a text editor and does not
>         seem to
>         have an apparent save function. Alternately trying "nano
>         crontab -e"
>         does not seem to work,therein being, no crontab content.Trying
>         the same
>         with sudo gets a permission denied and reported warning.
>         
>         Well,fellows and dames,how do I limp out of this one?. tnx.
>         
>         
>         I would like the following changes: (note: below each
>         respectively
>         appear as one line ).
>         
>         0 * * * * /usr/bin/find /home/kaluta/jerry-camera -mtime +1
>         -exec rm -fr
>         "{}" ";"
>         
>         to:
>         0 * * * * /usr/bin/find /home/kaluta/jerry-camera/*.jpg -mtime
>         +1 -exec
>         rm -fr "{}" ";"
>         
>         
>         
>         
>         _______________________________________________
>         nmglug mailing list
>         nmglug at nmglug.org
>         https://nmglug.org/mailman/listinfo/nmglug
> 
> 
> 
> -- 
> 
> "A house divided against itself cannot stand." 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug





More information about the nmglug mailing list