added warning on edit page for disabled cron filters
This commit is contained in:
parent
29d0d36056
commit
413c84fa70
2 changed files with 3 additions and 1 deletions
|
@ -72,6 +72,9 @@ func processFilters(filters []Filter, web *Web, watch *Watch, debug bool, schedu
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if debug && filter.Type == "cron" {
|
if debug && filter.Type == "cron" {
|
||||||
|
if filter.Var2 != nil && *filter.Var2 == "no" {
|
||||||
|
filter.log("Schedule is disabled")
|
||||||
|
}
|
||||||
processedMap[filter.ID] = true
|
processedMap[filter.ID] = true
|
||||||
getCronDebugResult(filter)
|
getCronDebugResult(filter)
|
||||||
continue
|
continue
|
||||||
|
|
1
todo.md
1
todo.md
|
@ -14,5 +14,4 @@
|
||||||
- walmart
|
- walmart
|
||||||
- etsy
|
- etsy
|
||||||
- aliexpress.com
|
- aliexpress.com
|
||||||
- warning for disabled cron ?
|
|
||||||
- clear cache button on edit page
|
- clear cache button on edit page
|
Loading…
Add table
Reference in a new issue