Added FAQ entry for import unwatched items via scheduled tasks.

This commit is contained in:
Abdulmhsen B. A. A
2022-04-25 02:07:26 +03:00
parent 95033636cd
commit 297b87b81d
2 changed files with 10 additions and 2 deletions

7
FAQ.md
View File

@@ -191,3 +191,10 @@ Flags:
* (required) `--search` Search query. For example, `GUNDAM`.
* (optional) `--search-limit` To limit returned results. Defaults to `25`.
* (optional) `--search-output` Set output style, it can be `yaml` or `json`. Defaults to `json`.
---
### Q: Can Task scheduler import unwatched episodes?
Yes, Set the environment variable `WS_CRON_IMPORT_UNWATCHED` in your `docker-compose.yaml` and restart your container
for changes to take effect.

View File

@@ -117,9 +117,10 @@ This command is not limited to plex, you can unify API key for all supported bac
If you don't want to use webhooks and want to rely only on scheduled task for importing, then set the value
of `WS_CRON_IMPORT` to `1`. By default, we run the import command every hour. However, you can change the scheduled task
timer by adding another variable `WS_CRON_IMPORT_AT` and set it value to valid cron expression. for
timer by adding another variable `WS_CRON_IMPORT_AT` and set its value to valid cron expression. for
example, `0 */2 * * *` it will run every two hours instead of 1 hour. beware, this operation is somewhat costly as it's
pulls the entire server library.
pulls the entire server library. You can also set `WS_CRON_IMPORT_UNWATCHED` to `1` allow the task to pull unwatched
items.
---