Implement mod-viewable janitor-generated badness stats.
This commit is contained in:
parent
8933f77bf5
commit
9d264dcf3a
14 changed files with 1772 additions and 1112 deletions
|
@ -19,12 +19,12 @@ def cron_setup():
|
|||
|
||||
# I guess in theory we should load this from a file or something, but, ehhhh
|
||||
hardcoded_cron_jobs = {
|
||||
#'testjob': {
|
||||
#'frequency_day': DayOfWeek.ALL,
|
||||
#'time_of_day_utc': datetime.time(0, 0),
|
||||
#'import_path': 'files.commands.debug_printout',
|
||||
#'callable': 'printstuff',
|
||||
#},
|
||||
'volunteer_janitor_recalc': {
|
||||
'frequency_day': DayOfWeek.ALL,
|
||||
'time_of_day_utc': datetime.time(0, 0),
|
||||
'import_path': 'files.commands.volunteer_janitor_recalc',
|
||||
'callable': 'volunteer_janitor_recalc_cron',
|
||||
},
|
||||
}
|
||||
|
||||
print(f"{tasklist.count()} tasks")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue