La version 5 de Planète Casio. Regroupe le forum, les programmes, les tutoriel, les sprites et tous les autres outils développés par nos soins.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
306 B

from app import db, crontab
from app.models.program import Program
from datetime import datetime
@crontab.job(minute="0", hour="4")
def update_progrank():
for p in Program.query.all():
p.progrank = 0
p.progrank_date =