Закинул настройки
This commit is contained in:
parent
17b85a9421
commit
0201c3d62f
157
fixtures/beat-settings.json
Normal file
157
fixtures/beat-settings.json
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.intervalschedule",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"every": 30,
|
||||||
|
"period": "seconds"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.intervalschedule",
|
||||||
|
"pk": 2,
|
||||||
|
"fields": {
|
||||||
|
"every": 30,
|
||||||
|
"period": "minutes"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.intervalschedule",
|
||||||
|
"pk": 3,
|
||||||
|
"fields": {
|
||||||
|
"every": 60,
|
||||||
|
"period": "seconds"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.crontabschedule",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"minute": "0",
|
||||||
|
"hour": "4",
|
||||||
|
"day_of_week": "*",
|
||||||
|
"day_of_month": "*",
|
||||||
|
"month_of_year": "*",
|
||||||
|
"timezone": "Asia/Krasnoyarsk"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.periodictasks",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"last_update": "2025-06-05T09:01:32.402"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.periodictask",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"name": "Загрузка GTO",
|
||||||
|
"task": "apps.schedulers.tasks.load_navigation",
|
||||||
|
"interval": 1,
|
||||||
|
"crontab": null,
|
||||||
|
"solar": null,
|
||||||
|
"clocked": null,
|
||||||
|
"args": "[]",
|
||||||
|
"kwargs": "{}",
|
||||||
|
"queue": null,
|
||||||
|
"exchange": null,
|
||||||
|
"routing_key": null,
|
||||||
|
"headers": "{}",
|
||||||
|
"priority": null,
|
||||||
|
"expires": null,
|
||||||
|
"expire_seconds": null,
|
||||||
|
"one_off": false,
|
||||||
|
"start_time": "2025-06-05T08:50:50",
|
||||||
|
"enabled": true,
|
||||||
|
"last_run_at": "2025-06-05T09:01:09.442",
|
||||||
|
"total_run_count": 22,
|
||||||
|
"date_changed": "2025-06-05T09:01:19.525",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.periodictask",
|
||||||
|
"pk": 2,
|
||||||
|
"fields": {
|
||||||
|
"name": "celery.backend_cleanup",
|
||||||
|
"task": "celery.backend_cleanup",
|
||||||
|
"interval": null,
|
||||||
|
"crontab": 1,
|
||||||
|
"solar": null,
|
||||||
|
"clocked": null,
|
||||||
|
"args": "[]",
|
||||||
|
"kwargs": "{}",
|
||||||
|
"queue": null,
|
||||||
|
"exchange": null,
|
||||||
|
"routing_key": null,
|
||||||
|
"headers": "{}",
|
||||||
|
"priority": null,
|
||||||
|
"expires": null,
|
||||||
|
"expire_seconds": 43200,
|
||||||
|
"one_off": false,
|
||||||
|
"start_time": null,
|
||||||
|
"enabled": true,
|
||||||
|
"last_run_at": null,
|
||||||
|
"total_run_count": 0,
|
||||||
|
"date_changed": "2025-06-05T08:50:09.336",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.periodictask",
|
||||||
|
"pk": 3,
|
||||||
|
"fields": {
|
||||||
|
"name": "Загрузка SP",
|
||||||
|
"task": "apps.schedulers.tasks.load_earthquake",
|
||||||
|
"interval": 2,
|
||||||
|
"crontab": null,
|
||||||
|
"solar": null,
|
||||||
|
"clocked": null,
|
||||||
|
"args": "[]",
|
||||||
|
"kwargs": "{}",
|
||||||
|
"queue": null,
|
||||||
|
"exchange": null,
|
||||||
|
"routing_key": null,
|
||||||
|
"headers": "{}",
|
||||||
|
"priority": null,
|
||||||
|
"expires": null,
|
||||||
|
"expire_seconds": null,
|
||||||
|
"one_off": false,
|
||||||
|
"start_time": "2025-06-05T08:51:58",
|
||||||
|
"enabled": true,
|
||||||
|
"last_run_at": "2025-06-05T08:52:04.511",
|
||||||
|
"total_run_count": 1,
|
||||||
|
"date_changed": "2025-06-05T08:52:44.409",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "django_celery_beat.periodictask",
|
||||||
|
"pk": 4,
|
||||||
|
"fields": {
|
||||||
|
"name": "Проверка доступности вышек PLA",
|
||||||
|
"task": "apps.schedulers.tasks.ping_plagroups",
|
||||||
|
"interval": 3,
|
||||||
|
"crontab": null,
|
||||||
|
"solar": null,
|
||||||
|
"clocked": null,
|
||||||
|
"args": "[]",
|
||||||
|
"kwargs": "{}",
|
||||||
|
"queue": null,
|
||||||
|
"exchange": null,
|
||||||
|
"routing_key": null,
|
||||||
|
"headers": "{}",
|
||||||
|
"priority": null,
|
||||||
|
"expires": null,
|
||||||
|
"expire_seconds": null,
|
||||||
|
"one_off": false,
|
||||||
|
"start_time": "2025-06-05T08:52:57",
|
||||||
|
"enabled": true,
|
||||||
|
"last_run_at": "2025-06-05T09:01:04.518",
|
||||||
|
"total_run_count": 9,
|
||||||
|
"date_changed": "2025-06-05T09:01:19.484",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
@ -6,7 +6,7 @@ TIME_ZONE_OBJECT = zoneinfo.ZoneInfo(TIME_ZONE)
|
|||||||
UTC_TZ_OBJECT = zoneinfo.ZoneInfo("UTC")
|
UTC_TZ_OBJECT = zoneinfo.ZoneInfo("UTC")
|
||||||
USE_I18N = True
|
USE_I18N = True
|
||||||
USE_L10N = True
|
USE_L10N = True
|
||||||
USE_TZ = True
|
USE_TZ = False
|
||||||
|
|
||||||
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
|
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user