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

Add ability to scan library at specific time of day #35

Open
fiveball02 opened this issue Jun 23, 2022 · 4 comments
Open

Add ability to scan library at specific time of day #35

fiveball02 opened this issue Jun 23, 2022 · 4 comments

Comments

@fiveball02
Copy link

No description provided.

@Josh5
Copy link
Contributor

Josh5 commented Jun 26, 2022

How is Unmanic installed?
You can already trigger this really easily with the API and a Cron job

@fiveball02
Copy link
Author

I'm using the docker image.

@Josh5
Copy link
Contributor

Josh5 commented Jul 2, 2022

Is that docker on Linux?

I'd recommend the Cron job approach. It will be the cleanest solution

@Josh5
Copy link
Contributor

Josh5 commented Jul 2, 2022

To create the scheduled task, first checkout the API docs on your Unmanic install:
image

Then find the endpoint for running a library scan /pending/rescan.
image

Finally, click "Execute" and then copy the curl command that it called. Use this curl command in a cron script.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants