aboutsummaryrefslogtreecommitdiff
path: root/crontab.example
diff options
context:
space:
mode:
Diffstat (limited to 'crontab.example')
-rw-r--r--crontab.example22
1 files changed, 22 insertions, 0 deletions
diff --git a/crontab.example b/crontab.example
new file mode 100644
index 000000000..cb2223d3b
--- /dev/null
+++ b/crontab.example
@@ -0,0 +1,22 @@
+# Crontab example.
+#
+# This file is an example of triggering Elgg cron events. Modify and register events
+# as appropriate.
+#
+# See crontab (5) for more information.
+#
+# @author Marcus Povey
+
+# Location of GET
+GET='/usr/bin/GET'
+
+# Location of your site
+ELGG='http://www.example.com/'
+
+# The crontab
+@reboot $GET ${ELGG}pg/cron/reboot/
+@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/