]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
updated crontab example documentation
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 2 Apr 2011 15:09:07 +0000 (15:09 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 2 Apr 2011 15:09:07 +0000 (15:09 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8910 36083f99-b078-4883-b0ff-0f9b5a30f544

documentation/examples/crontab.example

index b4b55ca04e2abc63e09a069047c39cfd0f2c78ec..f25f5cb07bc39ff774678e2be6a22493753ef12a 100644 (file)
@@ -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/