From 80f912563ef289ef389ef2e9bdba1aafcf7a130a Mon Sep 17 00:00:00 2001 From: Chaz Larson Date: Sat, 10 Dec 2022 14:31:02 -0600 Subject: [PATCH] Tweaks as requested --- docs/home/guides/docker.md | 25 ++++--------------------- docs/home/guides/local.md | 6 +++++- docs/home/guides/wt/wt-10-scheduling.md | 13 +++++++++++++ docs/home/guides/wt/wt-save.md | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 docs/home/guides/wt/wt-10-scheduling.md diff --git a/docs/home/guides/docker.md b/docs/home/guides/docker.md index ee0c8356..ebe2e0d2 100644 --- a/docs/home/guides/docker.md +++ b/docs/home/guides/docker.md @@ -386,29 +386,12 @@ Then run the script again: ```{include} wt/wt-09-next-steps.md ``` +## Other Topics -### Running the container in the background: - -The docker commands in this article are creating and deleting containers. - -However, you probably ultimately want a container that runs all the time, even after reboots, and wakes up to do its thing. - -This would be the minimal case: +### Scheduling +```{include} wt/wt-10-scheduling.md ``` -docker run -d \ - --restart=unless-stopped \ - -v PMM_PATH_GOES_HERE:/config:rw \ - meisnate12/plex-meta-manager -``` - -That will create a container that will run in the background until you explicitly stop it, surviving reboots, and waking up every morning at 5AM to process collections. - -There are of course [other flags you can add](../environmental), but this is the minimal command to create this container. - -There are [other ways you could schedule](scheduling.md) the `docker run` command used here if you don't want to use PMM's built-in scheduler and leave the container running all the time. - -## Other Topics ### I want to use the develop branch @@ -432,7 +415,7 @@ docker run --rm -it -v "PMM_PATH_GOES_HERE:/config:rw" meisnate12/plex-meta-mana This may not work if you are not using the official image; for example, it does not work with the lsio image. -### I want to ensure IO amy using the master branch +### I want to ensure I am using the master branch Add the `latest` tag to the image name in your run command [or wherever you specify the image in your environment] diff --git a/docs/home/guides/local.md b/docs/home/guides/local.md index f6bf30d8..a7e9e649 100644 --- a/docs/home/guides/local.md +++ b/docs/home/guides/local.md @@ -614,9 +614,13 @@ When you are done, deactivate the virtual environment: deactivate ``` - ## Other Topics +### Scheduling + +```{include} wt/wt-10-scheduling.md +``` + ### I want to update to the latest version of PMM ````{tab} Linux diff --git a/docs/home/guides/wt/wt-10-scheduling.md b/docs/home/guides/wt/wt-10-scheduling.md new file mode 100644 index 00000000..9bc44334 --- /dev/null +++ b/docs/home/guides/wt/wt-10-scheduling.md @@ -0,0 +1,13 @@ +The commands you've been using in this walkthrough runn Plex-Meta-Manager immediately. + +Plex Meta Manager also features multiple layers of scheduling, which you can leverage to + +You can run PMM in the background, telling it to wake up and process your libraries at fixed times during the day. The default behavior in this regard is to wake up at 5AM and process the config. + +You can skip using that internal schedule and just do manual runs as you have been doing throughout this walkthrough using standard tools available in your OS. + +Details on setting this up are found [here](../scheduling.md). + +In addition, individual items *within* the configuration can be scheduled to take place at certain times *provided PMM is running at that time*. For example, you can tell PMM only to apply overlays on Tuesdays or the like. YOu can then schedule manual runs every day at noon and overlays will only get processed when it runs on Tuesday. This sort of schedule *will not* make PMM start up if it is not already running. If you don't arrange for PMM to be run on Tuesday, your overlays would never be processed in this example. + +Details on this level of scheduling are found [here](../../../metadata/details/schedule.md) diff --git a/docs/home/guides/wt/wt-save.md b/docs/home/guides/wt/wt-save.md index a3f847c9..59d4d7e1 100644 --- a/docs/home/guides/wt/wt-save.md +++ b/docs/home/guides/wt/wt-save.md @@ -9,6 +9,6 @@ If you're using `nano`, type control-`x`, then `y`, then the enter key.
```` ````{tab} Windows:
-If you're using `notepad`, type alt-`s` or choose `Save` from the `File` menu. +If you're using `notepad`, type control-`s` or choose `Save` from the `File` menu.
````