aboutsummaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-02 15:09:07 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-02 15:09:07 +0000
commitf44e73275e6e15ee58420d8de98561654f1692b4 (patch)
treea992014ecf39b118cf8f454dc7d739e01b2ac529 /documentation
parentde77f9a2af2e29640608e0436d6500bc511f5e46 (diff)
downloadelgg-f44e73275e6e15ee58420d8de98561654f1692b4.tar.gz
elgg-f44e73275e6e15ee58420d8de98561654f1692b4.tar.bz2
updated crontab example documentation
git-svn-id: http://code.elgg.org/elgg/trunk@8910 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation')
-rw-r--r--documentation/examples/crontab.example27
1 files changed, 14 insertions, 13 deletions
diff --git a/documentation/examples/crontab.example b/documentation/examples/crontab.example
index b4b55ca04..f25f5cb07 100644
--- a/documentation/examples/crontab.example
+++ b/documentation/examples/crontab.example
@@ -1,7 +1,8 @@
# Crontab example.
#
-# This file is an example of triggering Elgg cron events. Modify and register events
-# as appropriate.
+# This file is an example of triggering Elgg cron events. It hits a URL to
+# trigger the events. For testing, you can simulate the cronjob by loading the
+# URL in a browser.
#
# See http://docs.elgg.org/wiki/Cron for more information
#
@@ -14,14 +15,14 @@ GET='/usr/bin/GET'
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/
+# Don't edit below this line unless you know what you are doing
+@reboot $GET ${ELGG}cron/reboot/
+* * * * * $GET ${ELGG}cron/minute/
+*/5 * * * * $GET ${ELGG}cron/fiveminute/
+15,30,45,59 * * * * $GET ${ELGG}cron/fifteenmin/
+30,59 * * * * $GET ${ELGG}cron/halfhour/
+@hourly $GET ${ELGG}cron/hourly/
+@daily $GET ${ELGG}cron/daily/
+@weekly $GET ${ELGG}cron/weekly/
+@monthly $GET ${ELGG}cron/monthly/
+@yearly $GET ${ELGG}cron/yearly/