Please add some sort of support for periodic jobs... For example:
TASKS = {
"default": {
"BACKEND": "dbtasks.backend.DatabaseBackend",
"OPTIONS": {
# How long to retain ScheduledTasks in the database. Forever if not set.
"retain": datetime.timedelta(days=7),
# Tasks to run periodically.
"periodic": {
# Runs at 3:30am every Monday through Friday.
"myproject.tasks.maintenance": "30 3 * * 1-5",
},
},
},
}
I am currently using a different tasks library, but I have 3 periodic jobs:
"periodic": {
"quickbbs.tasks.daily_cleanup_finished_jobs": Periodic("0 0 * * *"),
"quickbbs.tasks.weekly_vacuum_check": Periodic("0 6 * * 0"),
"quickbbs.tasks.check_ssl_cert_expiry": Periodic("0 6 * * *"),
},
And I don't see anyway to duplicate this functionality via django-tasks-db.
Please add some sort of support for periodic jobs... For example:
TASKS = {
"default": {
"BACKEND": "dbtasks.backend.DatabaseBackend",
"OPTIONS": {
# How long to retain ScheduledTasks in the database. Forever if not set.
"retain": datetime.timedelta(days=7),
# Tasks to run periodically.
"periodic": {
# Runs at 3:30am every Monday through Friday.
"myproject.tasks.maintenance": "30 3 * * 1-5",
},
},
},
}
I am currently using a different tasks library, but I have 3 periodic jobs:
And I don't see anyway to duplicate this functionality via django-tasks-db.