Skip to content

Commit a394a99

Browse files
committed
Run UpdateOrganizationStatisticsJob once daily
1 parent 66b1ebe commit a394a99

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

config/schedule.rb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,14 @@
2222

2323
# Learn more: http://github.com/javan/whenever
2424

25-
# These jobs are expensive. Turning off this job for now
26-
# so stats update only when new files are uploaded.
27-
# every :day do
28-
# runner 'UpdateOrganizationStatisticsJob.perform_all'
29-
# end
30-
3125
every 3.months do
3226
runner 'CleanupAndRemoveDataJob.enqueue_all'
3327
end
3428

3529
every :day do
3630
runner 'GenerateDeltaDumpJob.enqueue_all'
3731
end
32+
33+
every :day do
34+
runner 'UpdateOrganizationStatisticsJob.perform_all'
35+
end

0 commit comments

Comments
 (0)