expephalon/core/models/cron.py

7 lines
224 B
Python
Raw Normal View History

from django.db.models import Model, CharField, DateTimeField, BooleanField
class CronLog(Model):
task = CharField(max_length=255)
execution = DateTimeField(auto_now_add=True)
locked = BooleanField(default=True)