Skip to content
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

[Request] Allow me to configure scheduled task intervals #43

Closed
rpschube opened this issue Sep 22, 2024 · 3 comments · Fixed by #54
Closed

[Request] Allow me to configure scheduled task intervals #43

rpschube opened this issue Sep 22, 2024 · 3 comments · Fixed by #54
Labels
documentation Improvements or additions to documentation

Comments

@rpschube
Copy link

Is your feature request related to a problem? Please describe.
The "Download Missing Trailers" runs every hour, briefly taking up 30% of my CPU. Not a huge deal, but I don't need this happening every hour.

Describe the solution you'd like
I would like to be able to set a minutes or hours value for the interval at which all of the scheduled tasks run. This would work similarly to the existing monitor interval setting:

image

Describe alternatives you've considered
Keeping the container shut down and only starting it up it once a day for a single run of all it's scheduled tasks.

Additional context
Everything else works great!

@rpschube rpschube added the enhancement New feature or request label Sep 22, 2024
@nandyalu
Copy link
Owner

I would like to be able to set a minutes or hours value for the interval at which all of the scheduled tasks run. This would work similarly to the existing monitor interval setting

That is exactly how it works right now! App uses the same interval set in Monitor Interval for all tasks except for Image Refresh which runs every 6 hours.

@rpschube
Copy link
Author

rpschube commented Sep 22, 2024

Hmm, I suppose then it's not working for me. I have the Monitor Interval setting set to 480 as you can see above. However the tasks seem to be running at their same default schedules.

image

The error in my Download Missing Trailers task run is just a bad path for an individual piece of media, nothing with the job itself.

@nandyalu
Copy link
Owner

Tasks are scheduled when app starts, changing them won't be applied immediately. A restart is needed to set new scheduled tasks with updated intervals.

That tells me, I need to add this to docs, and maybe show a warning or something that container restart is needed to take effect. Thanks for bringing it up!

@nandyalu nandyalu added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Sep 23, 2024
@nandyalu nandyalu mentioned this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants