[nmglug] ssh server crontab

Bill York iago at pobox.com
Fri Jan 22 09:52:21 PST 2010


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."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20100122/e4c5078b/attachment.htm>


More information about the nmglug mailing list