[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Spam filtering : Qwik CRON tutorial KCron



Chris Johnson wrote:

crontab -e

will edit the cron config file for the current user using vi. :wq when
you've done and it will install the new version.

--

Just taken me 15 minutes to get out of VIM after doing crontab -e    aaargh!
I'm sure its really good for those that can use it but i'm not one.  I think
it was ctrl+z that got me out in the end, please correct me if I'm wrong so
it doesn't take so long next time.

where are the cron config files stored? (SUSE 8.2)

to list what you have in cron:

crontab -l

if you don't like vi then you could do the following:

crontab -l > filename (which can be anything e.g. spamcron)

pico spamcron  (or whatever your favourite text editor is)

[do whatever edits to cron that you need and save]

crontab spamcron

crontab -l   (to check your edits are ok)

-----------

Hopefully the above should work.



___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

 GNU the choice of a complete generation.