aboutsummaryrefslogtreecommitdiff
path: root/crontab.example
blob: 68695b3684f53537bc7d28393641d7d15bdea2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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/
* * * * * $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/