-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] - Lidarr - Script activity duration/time #238
Comments
You could accomplish this via cron, just disable autorun and create a cron job to run them at a scheduled timeframe. |
I'm unsure how I can set a cron job inside of the container? |
Actually you could not accomplish it via cron because the script will just sleep when not enabled. However, if you disable the video script, your drives should be able to sleep.... Because the video script is the only one messing with files in a final location... I will gladly review a PR for implementation that can do what your looking for, but I don't think I have the cycles to work on this when it's not something I'd use. |
Just had a idea. |
I think @jaycedk idea is the best way to accomplish it. Otherwise something else would need to be created to start the process and kill the process after a certain time and that is not something I'm interested in developing or deploying... |
Describe the solution you'd like
Set script activity hours, eg run between hours of 0900-2300. This way my drives can spin down during night time for power saving.
Describe alternatives you've considered
Script shutting down Lidarr makes it unavailable for requests which I want to avoid.
The text was updated successfully, but these errors were encountered: