The script should: - List all the tasks that had not finished (date_ended is null) (Group A) - List all the tasks that are currently on the queue (Group B) - List all the tasks that are currently handled by a worker (Group C) - Add (Group A - Group B - Group C) to queue
The script should: