We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
| Weblog: |
|
Keeping FreeBSD up-to-date
|
| Subject: |
|
Cron jobs |
| Date: |
|
2004-12-08 16:45:22 |
| From: |
|
cperciva
|
|
|
|
Just a note to anyone who might be tempted to run the above script from a cron job: "freebsd-update fetch" doesn't like being run from cron(8). This is deliberate -- after experiencing a few accidental distributed denial of service attacks from ntp-synchronized systems (e.g., 50 systems all fetching updates at exactly 3:00:00 AM), I added code to make sure this wouldn't happen again.
If you want to use a cron job, run "freebsd-update cron" instead (the manual page gives more details).
|