crontab.example 974 B

1234567891011121314151617181920212223242526272829303132
  1. # Crontab example.
  2. #
  3. # This file is an example of triggering Elgg cron events. It hits a URL to
  4. # trigger the events. For testing, you can simulate the cronjob by loading the
  5. # URL in a browser.
  6. #
  7. # See http://learn.elgg.org/en/stable/admin/cron.html for more information
  8. #
  9. # Location of your site (don't forget the trailing slash!)
  10. ELGG='http://www.example.com/'
  11. # Location of lwp-request
  12. LWPR='/usr/bin/lwp-request'
  13. # Make GET request and discard content
  14. GET="$LWPR -m GET -d"
  15. # The crontab
  16. # Don't edit below this line unless you know what you are doing
  17. * * * * * $GET ${ELGG}cron/minute/
  18. */5 * * * * $GET ${ELGG}cron/fiveminute/
  19. 15,30,45,59 * * * * $GET ${ELGG}cron/fifteenmin/
  20. 30,59 * * * * $GET ${ELGG}cron/halfhour/
  21. @hourly $GET ${ELGG}cron/hourly/
  22. @daily $GET ${ELGG}cron/daily/
  23. @weekly $GET ${ELGG}cron/weekly/
  24. @monthly $GET ${ELGG}cron/monthly/
  25. @yearly $GET ${ELGG}cron/yearly/
  26. # reboot is deprecated and probably doesn't work
  27. @reboot $GET ${ELGG}cron/reboot/