diff options
-rw-r--r-- | crontab.example | 4 | ||||
-rw-r--r-- | engine/lib/cron.php | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/crontab.example b/crontab.example index cb2223d3b..68695b368 100644 --- a/crontab.example +++ b/crontab.example @@ -15,6 +15,10 @@ ELGG='http://www.example.com/' # The crontab @reboot $GET ${ELGG}pg/cron/reboot/ +* * * * * $GET ${ELGG}pg/cron/minute/ +*/5 * * * * $GET ${ELGG}pg/cron/fiveminute/ +15,30,45,59 * * * * $GET ${ELGG}pg/cron/fifteenmin/ +30,59 * * * * $GET ${ELGG}pg/cron/halfhour/ @hourly $GET ${ELGG}pg/cron/hourly/ @daily $GET ${ELGG}pg/cron/daily/ @weekly $GET ${ELGG}pg/cron/weekly/ diff --git a/engine/lib/cron.php b/engine/lib/cron.php index f488bab0f..ca1a77968 100644 --- a/engine/lib/cron.php +++ b/engine/lib/cron.php @@ -36,6 +36,10 @@ { switch (strtolower($page[0])) { + case 'minute' : + case 'fiveminute' : + case 'fifteenmin' : + case 'halfhour' : case 'hourly' : case 'daily' : case 'weekly' : |