-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-04-10 at 01:58 -0500, dwain wrote:
On Tuesday 10 April 2007 01:15, Magnus Boman wrote:
Don't forget to make it executable!
How do I do this?
Do not make the crontab entry executable! You create it by using "crontab - -e" and that's all there is to it. That command knows where to save it and how. By the way, if you don't like the default editor (vi) you can change it to use another one you prefer; for instance: localhost:~ # EDITOR=/usr/bin/mcedit crontab -e or make the change permanent editing ".bashrc": export EDITOR=/usr/bin/mcedit or export EDITOR=/usr/bin/jstar Thus you will not have to ask here how to save the file, mcedit has a menu. ;-)
Do you see any flaws? How do I save it to cron.daily?
That's a totally different approach: either use "crontab -e", or use this one, not both. You create an script in the directory /etc/cron.daily/ as root, and it will be executed once a day (at an hour of the system choice, not yours (kind of)). This is an script and has to be executable. You can study the scripts already there. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGHE6htTMYHG2NR9URAvMDAJ9e/0u+Gela6Zv0Ez3urTlPm/tkWQCdF4W5 Ct+apoDqhxBtIRdNURuMN2E= =s7e6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org