shouldexecute checks deleted
parent
ab396d1833
commit
a372df64a5
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Reference in New Issue