Netfool 18 Posted September 1, 2020 Share Posted September 1, 2020 If I have a task scheduled to trigger hourly, does running the task manually reset the clock? Link to comment Share on other sites More sharing options...
Luke 37335 Posted September 1, 2020 Share Posted September 1, 2020 Hi, no, each trigger is independent of the others, including invoking it manually. 1 Link to comment Share on other sites More sharing options...
Netfool 18 Posted September 1, 2020 Author Share Posted September 1, 2020 16 hours ago, Luke said: Hi, no, each trigger is independent of the others, including invoking it manually. Does restarting the server reset the timer? Link to comment Share on other sites More sharing options...
Solution Luke 37335 Posted September 1, 2020 Solution Share Posted September 1, 2020 Yes. 1 Link to comment Share on other sites More sharing options...
Netfool 18 Posted September 1, 2020 Author Share Posted September 1, 2020 AHA!! Excellent! So this is a work-around to the problem that generated my feature request for better flexibility in scheduling tasks. It's would still be great to be able to schedule library scans on individual libraries rather than having to scan tens of terabytes of library frequently. Link to comment Share on other sites More sharing options...
Happy2Play 8399 Posted September 1, 2020 Share Posted September 1, 2020 2 hours ago, Netfool said: It's would still be great to be able to schedule library scans on individual libraries rather than having to scan tens of terabytes of library frequently. I guess that depends on your setup but one library could still be tens of terrabytes. Link to comment Share on other sites More sharing options...
Netfool 18 Posted September 2, 2020 Author Share Posted September 2, 2020 (edited) 2 hours ago, Happy2Play said: I guess that depends on your setup but one library could still be tens of terrabytes. Sure, but my issue is that I have a library of content that is continuously updated. From about 5 AM to 9 PM the Channels DVR and HDHR are adding programs to it. A library scan is needed to make that content visible to the Emby Clients, so that content is in it's own library. Library scans are expensive on the underpowered Linux box. (That's now my production server because I got tired of having to reinstall the server on the Nvidia Shield Pro). Running a full scan of all the libraries takes about 2 minutes. The library that's constantly being filled is only about 100GB (because old programs get pruned) and scans take less than 20 seconds. Edited September 2, 2020 by Netfool Link to comment Share on other sites More sharing options...
Happy2Play 8399 Posted September 2, 2020 Share Posted September 2, 2020 I'm not familiar with Linux but can't you just run a script to update that library however often you want? curl -X POST "http://yourserver:8096/emby/Items/{libraryid}/Refresh?Recursive=true&MetadataRefreshMode=Default&ImageRefreshMode=Default&ReplaceAllMetadata=false&ReplaceAllImages=false&api_key={your api key}" -H "accept: */*" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now