aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/crontab.example
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 02:30:17 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 02:30:17 +0000
commitfc56e67041f1e53419f9730da452a10336079401 (patch)
tree311740e503d83a1d96a1671d786801fddede0427 /documentation/examples/crontab.example
parent94fa4e76e0aef93816c9b8c087fda914e246ada7 (diff)
downloadelgg-fc56e67041f1e53419f9730da452a10336079401.tar.gz
elgg-fc56e67041f1e53419f9730da452a10336079401.tar.bz2
Moved crontab.example into documentation directory
git-svn-id: http://code.elgg.org/elgg/trunk@8415 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/examples/crontab.example')
-rw-r--r--documentation/examples/crontab.example27
1 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/