shouldexecute checks deleted
This commit is contained in:
@@ -10,6 +10,10 @@ import (
|
||||
)
|
||||
|
||||
func (feed Feed) ShouldExecute() (bool, error) {
|
||||
if feed.Entry.Deleted.IsZero() {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
schedule, err := cron.NewParser(
|
||||
cron.SecondOptional |
|
||||
cron.Minute |
|
||||
|
||||
Reference in New Issue
Block a user