diff --git a/scraping.go b/scraping.go index e5aa1cc..4576e37 100644 --- a/scraping.go +++ b/scraping.go @@ -72,6 +72,9 @@ func processFilters(filters []Filter, web *Web, watch *Watch, debug bool, schedu continue } if debug && filter.Type == "cron" { + if filter.Var2 != nil && *filter.Var2 == "no" { + filter.log("Schedule is disabled") + } processedMap[filter.ID] = true getCronDebugResult(filter) continue diff --git a/todo.md b/todo.md index 7d6c600..ef470bc 100644 --- a/todo.md +++ b/todo.md @@ -14,5 +14,4 @@ - walmart - etsy - aliexpress.com -- warning for disabled cron ? - clear cache button on edit page \ No newline at end of file