shouldexecute checks deleted

main
Bel LaPointe 2025-04-27 12:04:43 -06:00
parent ab396d1833
commit a372df64a5
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ import (
) )
func (feed Feed) ShouldExecute() (bool, error) { func (feed Feed) ShouldExecute() (bool, error) {
if feed.Entry.Deleted.IsZero() {
return false, nil
}
schedule, err := cron.NewParser( schedule, err := cron.NewParser(
cron.SecondOptional | cron.SecondOptional |
cron.Minute | cron.Minute |