expephalon/core/models/cron.py

9 lines
247 B
Python
Raw Normal View History

from django.db.models import Model, DateTimeField, BooleanField
from core.fields.base import LongCharField
class CronLog(Model):
task = LongCharField()
execution = DateTimeField(auto_now_add=True)
locked = BooleanField(default=True)