added warning on edit page for disabled cron filters

This commit is contained in:
BroodjeAap 2022-12-27 15:20:58 +00:00
parent 29d0d36056
commit 413c84fa70
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -14,5 +14,4 @@
- walmart
- etsy
- aliexpress.com
- warning for disabled cron ?
- clear cache button on edit page