Skip to content

Commit 74fd988

Browse files
committed
Fix day_of_week
1 parent 7ef9679 commit 74fd988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domains/etl/services/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def update_scheduling(task: Task, schedule_data: dict | None = None):
500500
task.periodic_task.crontab.hour = hour
501501
task.periodic_task.crontab.day_of_month = day
502502
task.periodic_task.crontab.month_of_year = month
503-
task.periodic_task.crontab.weekday = weekday
503+
task.periodic_task.crontab.day_of_week = weekday
504504
task.periodic_task.crontab.save()
505505
else:
506506
crontab_schedule = CrontabSchedule.objects.create(

0 commit comments

Comments
 (0)