-
I have been running plexcleaner on a windows machine using a powershell script and scheduled tasks to run the script on a schedule. I am moving my automation tools to an ubuntu server. I used the interactive shell to run plexcleaner with my json file as a test and it ran fine. Is there a good way to script this to run on a schedule. The issue I see is the interactive shell with docker and not being there to interact and exit the shell when finished. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
No need to run interactive in docker, instead of the |
Beta Was this translation helpful? Give feedback.
-
Sorry, the uid is my user, so I guess it is running with my permissions
…On Fri, Jun 21, 2024, 2:22 PM Pieter Viljoen ***@***.***> wrote:
Using --logappend will add to existing file.
Logger is created here
<https://github.com/ptr727/PlexCleaner/blob/main/PlexCleaner/Program.cs#L235>
If you say you run using sudo, that does not really relate to how the
container is executing, maybe sudo docker because you did not add your
account to the docker group to not need root for managing docker?
—
Reply to this email directly, view it on GitHub
<#392 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGK6N3BGVVVWC7I7IR5JDXDZIRVPTAVCNFSM6AAAAABJWLW2GKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQNBSG44DI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for the clarification.
…On Fri, Jun 21, 2024 at 3:15 PM Pieter Viljoen ***@***.***> wrote:
Maybe it is because there were no warnings being logged, so no output
generated until a warning is emitted?
—
Reply to this email directly, view it on GitHub
<#392 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGK6N3FL5W4CC3W5UZT6IP3ZIR3WPAVCNFSM6AAAAABJWLW2GKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQNBTGA4TQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
No need to run interactive in docker, instead of the
/bin/bash
from the example in readme just run/PlexCleaner/...
as the command, it is as if you are running the executable but it is hosted in docker.