allows daily to be specified

This commit is contained in:
meisnate12 2021-01-23 02:23:18 -05:00
parent 55bed3d5a0
commit e8f7434d52

View file

@ -422,6 +422,9 @@ class Config:
last_day = next_month - timedelta(days=next_month.day)
for schedule in schedule_list:
run_time = str(schedule).lower()
if run_time.startswith("day") or run_time.startswith("daily"):
skip_collection = False
break
if run_time.startswith("week") or run_time.startswith("month") or run_time.startswith("year"):
match = re.search("\\(([^)]+)\\)", run_time)
if match: