Schedule run as normal docker
Is it possible/could it be possible to just run this on a schedule, a cron or systemd timer to bring it up and when it's done it just exits? It doesn't seem to have a UI so it would be nice to not have to use cycles on it when it's not doing anything.
Can you explain why "it would be nice" not to have to use cycles when it's not doing anything? It's a simple loop that goes into sleep until the next iteration.
Can you explain why "it would be nice" not to have to use cycles when it's not doing anything? It's a simple loop that goes into sleep until the next iteration.
This may be solved by webui as to user there's no visibility on cycles
I mean it's not a deal breaker or anything but I just try not to run containers that aren't doing anything. For example, with Kometa I run this via cron. It runs and when it's done it exits so it's only running when it's doing something.
docker run --rm --name kometa \
--network proxy \
-v /volume1/containers/docker/kometa/config:/config \
-e PUID="${PUID}" \
-e PGID="${PGID}" \
-e TZ="${TZ}" \
-e KOMETA_CONFIG="/config/config.yml" \
-e KOMETA_RUN="True" \
lscr.io/linuxserver/kometa:latest bash -c "python kometa.py --run --low-priority --no-report --no-missing"