-
Notifications
You must be signed in to change notification settings - Fork 196
/
Copy pathcron.yaml
56 lines (51 loc) · 1.84 KB
/
cron.yaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
cron:
# Generate statistics used by /admin/dashboard and /api/stats.
- description: update person counts
url: /global/tasks/count/person
schedule: every 20 minutes
- description: update note counts
url: /global/tasks/count/note
schedule: every 20 minutes
# Ensure each Person's latest_status reflects the latest non-flagged Note
- description: update person statuses
url: /global/tasks/count/update_status
schedule: every 15 minutes
# This does a subset of the work of update_status, a little more often.
- description: update person statuses (if believed_dead)
url: /global/tasks/count/update_dead_status
schedule: every 5 minutes
- description: process expirations
url: /global/tasks/process_expirations
schedule: every 4 hours
- description: clean up unassociated notes
url: /global/tasks/cleanup_stray_notes
schedule: every 4 hours
- description: clean up unassociated subscriptions
url: /global/tasks/cleanup_stray_subscriptions
schedule: every 4 hours
- description: clean up in test mode
url: /global/tasks/clean_up_in_test_mode
schedule: every 60 minutes
- description: Send email notification when there are many unreviewed notes
url: /global/tasks/notify_many_unreviewed_notes
schedule: every 6 hours
- description: prepare thumbnails
url: /global/tasks/thumbnail_preparer
schedule: every 30 minutes
- description: dump CSV
url: /global/tasks/dump_csv
schedule: every day 0:00
timezone: UTC
# Datacheck crons
- description: Check expired person records.
url: /global/tasks/check_expired_person_records/
schedule: every day 18:00
timezone: UTC
- description: Check note record validity.
url: /global/tasks/check_note_data_validity/
schedule: every day 18:00
timezone: UTC
- description: Check person record validity.
url: /global/tasks/check_person_data_validity/
schedule: every day 18:00
timezone: UTC