diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/examples/crontab.example | 27 | ||||
-rw-r--r-- | documentation/examples/events/basic.php.out | 0 |
2 files changed, 27 insertions, 0 deletions
diff --git a/documentation/examples/crontab.example b/documentation/examples/crontab.example new file mode 100644 index 000000000..b4b55ca04 --- /dev/null +++ b/documentation/examples/crontab.example @@ -0,0 +1,27 @@ +# Crontab example. +# +# This file is an example of triggering Elgg cron events. Modify and register events +# as appropriate. +# +# See http://docs.elgg.org/wiki/Cron for more information +# +# @author Marcus Povey + +# Location of GET (see: http://docs.elgg.org/wiki/What_is_get) +GET='/usr/bin/GET' + +# Location of your site (don't forget the trailing slash!) +ELGG='http://www.example.com/' + +# The crontab +# Don't edit below this line! +@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/ +@monthly $GET ${ELGG}pg/cron/monthly/ +@yearly $GET ${ELGG}pg/cron/yearly/ diff --git a/documentation/examples/events/basic.php.out b/documentation/examples/events/basic.php.out deleted file mode 100644 index e69de29bb..000000000 --- a/documentation/examples/events/basic.php.out +++ /dev/null |