forked from rDrama/rDrama
make cron also calculate stats (based and cronpilled)
parent
c100ed415c
commit
39e0e6d017
|
@ -11,6 +11,7 @@ from files.helpers.const import *
|
||||||
def generate_charts_task(site):
|
def generate_charts_task(site):
|
||||||
chart(kind='daily', site=site)
|
chart(kind='daily', site=site)
|
||||||
chart(kind='weekly', site=site)
|
chart(kind='weekly', site=site)
|
||||||
|
stats(site=site)
|
||||||
|
|
||||||
def chart(kind, site):
|
def chart(kind, site):
|
||||||
now = time.gmtime()
|
now = time.gmtime()
|
||||||
|
|
Loading…
Reference in New Issue