[nmglug] ssh server crontab

Bill York iago at pobox.com
Fri Jan 22 18:50:40 PST 2010


learn it. use it. love it.

people will envy you.

On Fri, Jan 22, 2010 at 6:27 PM, a <a at kaluta.us> wrote:

> 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
>
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug
>



-- 

"A friend is one who has the same enemies as you have."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20100122/5a05efbd/attachment.htm>


More information about the nmglug mailing list