Hi all. I want to run a command in the background for debug every 5 minutes. Is there a quick easy plugin template that would help me do this? I just want to pull some info from the DB using sqlite and push it to a file so I can track changes to the DB (I’m debugging a caching issue in another app). Thanks!
Nope…
Use native OS tools for that, like cron if on Linux or Mac, and Task Scheduler if on Windows
Hrm, i need it in the plug-in unfortunately. Trying to see if a plug-in can monitor the DB changed that aren’t seen on the filesystem due to what I think is WAL caching.
Then checkout my EPG-DK plugin, that contains a scheduler
github.com/ukdtom/epg-dk.bundle
Note that you need to run the bundle as a daemon
@dane22 said:
Then checkout my EPG-DK plugin, that contains a schedulergithub.com/ukdtom/epg-dk.bundle
Note that you need to run the bundle as a daemon
Awesome. Thank you! For reference, is there a simple Hello World Plug-in out there that maybe writes to a log file or something like that when hitting a URL on the Plex server? Just trying g to get my bearings. Thanks again.
@fmstrat said:
Awesome. Thank you! For reference, is there a simple Hello World Plug-in out there that maybe writes to a log file or something like that when hitting a URL on the Plex server? Just trying g to get my bearings. Thanks again.
Not that I know off, sorry