Write task definition to DB and read it on backend server start up.
Don't write the task to DB if it already exists.
Delete the job from _jobsinfo during job deletion, there is no need to use "delete = true".