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

Pulling data via NC Cron? #56

Closed
Rello opened this issue Sep 25, 2018 · 2 comments
Closed

Pulling data via NC Cron? #56

Rello opened this issue Sep 25, 2018 · 2 comments

Comments

@Rello
Copy link

Rello commented Sep 25, 2018

Hello,

congratulations to your app. nice effort.

I would like to know if you thought about a way to let the app (cron on NC) pull information - compared to the current push of the sensor itself.

one possible case: track your download statistics in git. currently i am checking on a daily basis the statistics
(e.g. https://api.github.com/repos/rello/audioplayer/releases) and read the "download_count": xxxx,
Afterwards I store it in an excel and create a pivot-chart

As this is perfectly structured information it might be interesting in some place in sensorlogger to define

  • the url (e.g. https://api.github.com/repos/rello/audioplayer/releases)
  • the array for the information (e.g. ['assets']['download_count'])

This information is then read regularly and added into the sensorlogger db (as cumulative value).
I would love to have an automated way to track the download stats which might in this case (think of a pull-template) be interesting for many app devs

anything ever thought about?

@alexstocker
Copy link
Owner

alexstocker commented Sep 26, 2018

@Rello

Thanx for your interesting idea.
Background Jobs/CronJobs are scheduled for release 0.2.0. But there is still a long way to go.

Anyway. We could start talking about possible requirement. What do you think?

kindest
Alex

@alexstocker alexstocker added this to Todo in BackgroundJobs Sep 26, 2018
@Rello
Copy link
Author

Rello commented Sep 26, 2018

I think there are several steps to implement

  • general cron framework
  • 1st: UI to register cron-tasks
  • 2nd: UI to assign different time schedules to cron-tasks (hourly/daily/weekly)
  • UI to create custom cron-tasks as mentioned above and find a way to parse array values

...quite some job to do :-)

@Rello Rello closed this as completed Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants