Description
After I remove the existing cron configuration, gitea does not remove the scheduled tasks from the database,

Configuration parsing fails and ends without clearing the old cron task.

  
  
    
        
           | 
           workflows, schedules, err := actions_module.DetectWorkflows(gitRepo, commit, input.Event, input.Payload)  | 
        
        
           | 
           if err != nil {  | 
        
        
           | 
           	return fmt.Errorf("DetectWorkflows: %w", err)  | 
        
        
           | 
           }  | 
        
    
   
 
Gitea Version
main
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
systemd
Database
SQLite