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

Provide an API that will return the time in seconds till the next run #8649

Open
tsteur opened this issue Aug 27, 2015 · 0 comments
Open

Provide an API that will return the time in seconds till the next run #8649

tsteur opened this issue Aug 27, 2015 · 0 comments
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.

Comments

@tsteur
Copy link
Member

tsteur commented Aug 27, 2015

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.

@tsteur tsteur added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. labels Aug 27, 2015
@tsteur tsteur added this to the Mid term milestone Aug 27, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants