mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-24 21:43:07 +00:00
allows daily to be specified
This commit is contained in:
parent
55bed3d5a0
commit
e8f7434d52
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue