удалите Задачу / PeriodicTask в сельдерее

Как я могу удалить регулярную Задачу или PeriodicTask в сельдерее?

9
задан user140736 1 April 2010 в 00:30
поделиться

1 ответ

Вы отменяете задачу: см. Документацию :

Control.revoke(task_id, destination=None, terminate=False, signal='SIGTERM', **kwargs)
    Tell all (or specific) workers to revoke a task by id.

    If a task is revoked, the workers will ignore the task and not execute it after all.

    Parameters: 
        task_id – Id of the task to revoke.
        terminate – Also terminate the process currently working on the task (if any).
        signal – Name of signal to send to process if terminate. Default is TERM.
16
ответ дан 4 December 2019 в 13:01
поделиться
Другие вопросы по тегам:

Похожие вопросы: