Thanks guys, I got that added, export works fine...
just gotta get the format right so it runs every 5 minutes.

also, if for some reason it hasn't finished running from the previous time,
is there a way to stop it running again?

I don't want to crash my system by having 200 copies running by tomorrow
morning... (actually, at every 5 minutes, it would no doubt happen much
sooner then tomorrow morning..)


rgds

Frank

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ed Kasky
Sent: Sunday, 23 September 2001 10:08 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [newbie] crontab -e doesn't work...


Crontab is working - what you are seeing is the vi editor....

Not my favorite editor in the world that's for sure.  ;-)

In order to be able to edit the file, press the insert key - you will see
--INSERT-- at the bottom of the screen.  (F1 brings up the help screen.)

once you are done editing, press "esc" then ":" the "wq" for write/quit.
If you did the steps correctly you will see a message that indicates a new
crontab has been installed...

O'Reilly puts out a good pocket reference fo rthe vi editor.  I think I
picked one up for $5 US or so...

Ed
~~
At 09:53 PM Sunday, 9/23/2001, you wrote -=>
>Hi all,
>
>I have been trying to add an entry to contab for root on my mdk 7.2
system..
>
>when I type crontab -e it brings up a screen with an entry at the top and
>one at the bottom and a funny ~ char at the start of all the lines in
>between.
>
>like so:
>
>
>0 * * * * /etc/iscan/prescan.cgi >/dev/null 2>&1
>~
>~
>
>I cut out a heap of these characters, but you get the point.
>~
>~
>~
>~
>~
>~
>"/tmp/crontab.16832" 1L, 49C
>
>I can't seem to add one and I really need to.
>
>I want to add something like:
>
>05 * * * * /sbin/nimda >/dev/null 2>&1
>
>so that it runs my scan that adds nimda and code red clients to my ipchains
>rules to block them...
>
>it needs to run alot so I figure that every five minutes would be good.
>(have I done that right?)
>
>can anyone tell me why I can't enter anything?  and can't I just edit a
file
>with mcedit?
>
>I can move the cursur to the start and end of the top line, but nowhere
>else, and I can't get a newline (also, I am trying to do this via ssh as
>root.)
>
>
>any suggestions would be much appreciated.
>
>
>regards
>
>Frank
>
>
>
>
>
>
>
>
>Want to buy your Pack or Services from MandrakeSoft?
>Go to http://www.mandrakestore.com

Ed Kasky
Los Angeles, CA
. . . . . . . .
Don't worry about the horse being blind.
Just load up the wagon.
        ~~ John Madden




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to