#Help with Docker Scheduling from Wiki Instructions

1 messages · Page 1 of 1 (latest)

tribal jacinth
#

I installed Kometa using the recommended Docker walkthrough on the wiki. The scheduling section doesn't really seem to match the commands in the walkthrough. I'm trying to figure out the best/offical way to run Kometa daily when using the docker walkthrough.

The Docker walkthrough in the Wiki instructs to run Kometa with this command in terminal "docker run --rm -it -v "KOMETA_PATH_GOES_HERE:/config:rw" kometateam/kometa --run."

Under scheduling, it says, "You can run Kometa 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. If you leave the-roff the commands you have been using in this walkthrough, that's what will happen."
https://kometa.wiki/en/latest/kometa/install/docker/#scheduling

There is no -r. Removing -run seems to work. But only if the terminal window stays open.

What is the official/best way to have Kometa run daily, if following the Docker walkthrough? Ideally, I'd also like to be able to run it manually when I want.

gloomy cloakBOT
#

Welcome @tribal jacinth!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

molten mauve
#

-r/--run are equivalent. Most flags like this have short and long versions.

docker run -d --restart unless-stopped -it -v "KOMETA_PATH_GOES_HERE:/config:rw" kometateam/kometa

Runs it in the background [-d] so you don't need the terminal window open.
Restarts when docker starts up unless you have explicitly stopped the container. [ --restart unless-stopped]
You don't want --rm because that removes the container when it exits.

You could also do the above with docker compose.

I'd also like to be able to run it manually when I want

You can do that with the command you are already using; having a container running doesn't prevent doing so.

None of that is Kometa-specific; standard docker stuff.

#

If you want to change the time Kometa wakes up from 5AM to something else

docker run -d --restart unless-stopped -it -v "KOMETA_PATH_GOES_HERE:/config:rw" kometateam/kometa --times 22:00,03:00
tribal jacinth
#

Thank you!