Provide an API that will return the time in seconds till the next run #8649
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Imagine a plugin that defines a task that runs eg hourly or daily. This plugin also has a status page showing for example which files will be imported on the next task run. It would be nice to show an information like "these files will be imported in X seconds" or "X minutes 50 seconds".
It is possible to do this by reading the correct value from the option table and unserializing the stored value etc. but it's kinda fragile and not as nice as an API.
Moving to mid term as it is a nice to have.
The text was updated successfully, but these errors were encountered: