Closed 871690991 closed 1 year ago
I performed the following _schedule(func="djangoqtest.demo.demo_task",audit_id="128jjj123",cc_users="xu.jx",username="xxx",hook='123132123',cron="/1 *",name="test2_job",scheduletype=Schedule.CRON)
How to stop a scheduled task instead of deleting it
I found it,set (repeats = 0 ) to stop the task, and set (repeats = -1) to open the task
I performed the following _schedule(func="djangoqtest.demo.demo_task",audit_id="128jjj123",cc_users="xu.jx",username="xxx",hook='123132123',cron="/1 *",name="test2_job",scheduletype=Schedule.CRON)
How to stop a scheduled task instead of deleting it