django-uwsgi-taskmanager icon indicating copy to clipboard operation
django-uwsgi-taskmanager copied to clipboard

Changing scheduling and repetition fields leaves unwanted files in the spooler

Open guglielmo opened this issue 5 years ago • 0 comments

Whenever the scheduling fields of an already scheduled task are changed, the old scheduled execution, re-creates a new file in the spooler with the old scheduling values.

Thus, multiple files, with different execution scheduling will live in the spooler, generating confusion and unwanted executions.

A workaround is to manually stop the task (thus removing the file in the spooler), before changing the values.

This could be also the possible solution. Whenever an update is required for a task, the task is automatically stopped before the update, so that no trailing files are left in the spooler.

guglielmo avatar Jun 17 '20 12:06 guglielmo