Dwain, On Tue, 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?
chmod 700 /usr/local/f-prot/tools/check-updates.pl The 7 in 700 above means flag it to RWX. (Read/Write/eXecutable) by the owner and no writes to anyone else. When you change your files, you add the numbers as follows R = 4 W = 2 X = 1 4+2+1 = 7 The second 0 is for the group that owns the file, they will have no wrights The third 0 is for everybody else, and they wont have any rights either. But if this is supplied by f-prot, it's probably executable already. Check it with ls -l /usr/local/f-prot/tools/check-updates.pl
Here's the script:
su crontab-e 27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron -quiet
Do you see any flaws? How do I save it to cron.daily?
That script will run 4.27 and 16.27 everyday. What you can do to put it in cron.daily is; ln -s /usr/local/f-prot/tools/check-updates.pl /etc/cron.daily/ But you don't have to do that if you already have it in root's crontab (as you show above). If you want to put it in cron.daily, remove the line from crontab -e.
This is such an adjustment for me, but I'm loving every minute of it.
Yhea, it's good fun to be able to control the OS instead of the OS controlling you :-)
Cheers, Dwain
Cheers, Magnus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org