How to Schedule External Library Scans
Is there a way to schedule external library scans. I'm not sure if there's a default frequency, but I'd like it to scan more frequently than it currently does.
12 Replies
There's no built in way to do this, for now you could set up a script to call the API to set off a scan
Hello, this interests me, how would I call the api to create the script, I have the library with the latest configuration news
Depends on how you want to call it. Looks like it's just a PUT command. The Api for jobs is here: https://documentation.immich.app/docs/api/send-job-command
You can use the library api
Sorry, sent the wrong one. Ma b
No worries. There's also another cleanup job we do every day that can be started with the job commands, but that's probably not what you want 🙂
actually, there is a nightly job that runs to refresh all libraries. It might not even be documented (yet) but it runs every night 🙂
Yeah I noticed stuff gets picked up overnight. I just assumed there'd be settings somewhere to customize that.
Not yet, sorry
Forgive my ignorance, the command to launch would be id library ??
thank you very much, I already have it up and running
Awesome