make cron also calculate stats (based and cronpilled)

master
Aevann1 2022-06-09 20:09:49 +02:00
parent c100ed415c
commit 39e0e6d017
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ from files.helpers.const import *
def generate_charts_task(site):
chart(kind='daily', site=site)
chart(kind='weekly', site=site)
stats(site=site)
def chart(kind, site):
now = time.gmtime()