Scheduled task enhancements (P-282702)

Added maxTotalCountAllowed
Added SUSPENDED and DRY_RUN_ONLY statuses
Fixed php notice when logger is initialized in CLI mode
Fixed file sync deletion and processing events that were updating the object instead of the file sync