A keystroke away from Doom.

Chris F.A. Johnson chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org
Fri Oct 18 17:50:41 UTC 2013


On Fri, 18 Oct 2013, Scott Sullivan wrote:

> So, I just discovered crontab -r.
>
> While working on a new cron job, I wanted to check what I had done for my 
> personal user account on my personal server. I login, type crontab -e, or so 
> I had though until I didn't get the editor. On a standard Qwerty Keyboard, 
> the 'e' and the 'r' are right next to each other. '-e' edit, '-r' deletes 
> the users crontab, and of course I typo'd it.

    I've never used the -e (or -r) option.

    I keep a file, $HOME/crontab, with all my crontab entries. This can
    be created with:

crontab -l > $HOME/crontab"

    I edit that file and install it with

crontab "$HOME/crontab"

-- 
Chris F.A. Johnson, <http://cfajohnson.com>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list