From fc56e67041f1e53419f9730da452a10336079401 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 22 Feb 2011 02:30:17 +0000 Subject: Moved crontab.example into documentation directory git-svn-id: http://code.elgg.org/elgg/trunk@8415 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/examples/crontab.example | 27 +++++++++++++++++++++++++++ documentation/examples/events/basic.php.out | 0 2 files changed, 27 insertions(+) create mode 100644 documentation/examples/crontab.example delete mode 100644 documentation/examples/events/basic.php.out (limited to 'documentation') 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 -- cgit v1.2.3