Quote:
Originally posted by Falafel
when I type crontab -e as root some strange window pops up and I cannot type or save anything.
|
That "strange thing" is called vi, and is
Unix'/Linux' most common editor :}
By default it's in a mode that will
let you delete characters, words, lines,
to do modification press either a or i
(append or insert) ... for a full overview
try man vi :}
Quote:
I can open /etc/crontab though. can i use that file for making the backup?
how do I type if I want to run the job as root?
|
crontab -e always works for the currently
logged in user ...
Quote:
My last question: how do I make a script?
thank you m8!
|
Use your favourite editor, create a file
that starts with
#!/bin/bash
on the first line, and then type all the nifty
things you want it to do.
Then save it, then make it executable with
chmod u+x <your filename here>
Cheers,
Tink