[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Re: your mail
- Subject: [ale] Re: your mail
- From: pynk at angband.org (Ben Phillips)
- Date: Wed, 22 Nov 2000 16:33:50 -0500 (EST)
On Wed, 22 Nov 2000, Martin Nichols wrote:
> I am trying to write a backup script to be run automatically with cron. I can
> find very lmited info but on Red Hat 6.2 would you place the script in
> /var/spool/cron?
Nah, you want to put it someplace like /usr/local/bin (or I usually make a
directory called /usr/script and add it to my path so my scripts don't get
mixed up with a bunch of surly binaries). Then run crontab -e and it'll
drop you in its favorite editor (vi, in all likelihood) so you can add the
job there. (Do a 'man 5 crontab').
Or, I guess the canon Red Hat Way would be to just stick the darn thing in
/etc/cron.daily or /etc/cron.weekly (making sure you give it executable
permission, of course).
__ _ "I hate to advocate drugs,
Ben Phillips / '_' ) ,,, alcohol, violence or
pynk at angband.org | | ()|||||||||[:::) insanity, but they've
\__.-._) ''' always worked for me."
-- Hunter S. Thompson
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.