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
|
||||
}
|
||||
if debug && filter.Type == "cron" {
|
||||
if filter.Var2 != nil && *filter.Var2 == "no" {
|
||||
filter.log("Schedule is disabled")
|
||||
}
|
||||
processedMap[filter.ID] = true
|
||||
getCronDebugResult(filter)
|
||||
continue
|
||||
|
|
1
todo.md
1
todo.md
|
@ -14,5 +14,4 @@
|
|||
- walmart
|
||||
- etsy
|
||||
- aliexpress.com
|
||||
- warning for disabled cron ?
|
||||
- clear cache button on edit page
|
Loading…
Add table
Reference in a new issue