Feature: #79777 - EXT:scheduler - Deleted column for tasks added

See forge#79777

Description

A reference to a previously deleted task is now kept in the database with a deleted=1 flag, in order to check historic calls on scheduler tasks.