Cronjobs implemented

This commit is contained in:
th.guenther committed 2026-04-25 00:32:15 +02:00
1 parent 4878f750bd
commit 2e8daf78e1
10 files changed
+231 -6

No files matched your search

+3
View File
@@ -158,6 +158,9 @@ class ProductionDataSeeder {
private function installCronTasks() {
CronTask::create(['name' => 'UploadInvoices', 'execution_type' => CronTaskType::CRON_TASK_TYPE_REALTIME]);
CronTask::create(['name' => 'CloseCostUnit', 'execution_type' => CronTaskType::CRON_TASK_TYPE_DAILY, 'schedule_time' => '00:05']);
CronTask::create(['name' => 'CloseEvent', 'execution_type' => CronTaskType::CRON_TASK_TYPE_DAILY, 'schedule_time' => '00:10']);
CronTask::create(['name' => 'NotifyTeam', 'execution_type' => CronTaskType::CRON_TASK_TYPE_DAILY, 'schedule_time' => '20:00']);
}
}