How to set up different weekday/weekend schedules for celery beat in Django?
task_name is a unique index. In table periodictask, a task-name can be there only once.So your two job submissions mean the second one is overwriting the first.
You could make a task function my_regualar_task_weekend()
which simply calls my_regular_task()
, and then apply the weekend schedule to new task.