|
Revision 1405, 0.7 kB
(checked in by jm3, 2 years ago)
|
updated configuration setup script to also build our crontab file, so now there are like, ZERO passwords or paths coded anywhere
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
# regenerate the feedmelinks portal every ten minutes |
|---|
| 3 |
0-59/10 * * * * regenerate-portal.sh |
|---|
| 4 |
|
|---|
| 5 |
# rebuild the wall of ancients once an hour |
|---|
| 6 |
7 * * * * lynx --source http://feedmelinks.com/wall-of-ancients-uncached.php > $WEBSERVER_ROOT/wall-of-ancients.php |
|---|
| 7 |
|
|---|
| 8 |
# expire old users weekly |
|---|
| 9 |
42 0 * * 0 wget --http-user=$ADMIN_USER --http-password=$ADMIN_PASSWORD http://$SITE/admin/expire-old-users |
|---|
| 10 |
|
|---|
| 11 |
# flush out the logged-IP table weekly |
|---|
| 12 |
30 0 * * 0 wget --http-user=$ADMIN_USER --http-password=$ADMIN_PASSWORD http://$SITE/admin/clear-logged-IPs |
|---|
| 13 |
|
|---|
| 14 |
# how cron's schedule syntax works: |
|---|
| 15 |
# minute 0-59 |
|---|
| 16 |
# hour 0-23 |
|---|
| 17 |
# day of month 1-31 |
|---|
| 18 |
# month 1-12 (or names, see below) |
|---|
| 19 |
# day of week 0-7 (0 or 7 is Sun, or use names) |
|---|