bbc / newslabs-datastringer

Monitor datasets, gets alerts when something happens
http://bbc-news-labs.github.io/datastringer/
MIT License
211 stars 19 forks source link

Options for scheduling jobs / running at startup #20

Open iaincollins opened 10 years ago

iaincollins commented 10 years ago

We could leverage upstart, launched, systemd and Windows Services to run jobs as a service on all platforms (and/or or use our own schedular, kick started at boot).

The goal being it should be runnable by anyone and consume minimal resources.

I think running a web based admin GUI (as things like printer drivers and other services often do) would be a nice way to allow people use and manage the tool (although that's a slightly separate issue :).

Happy to do cross platform dev work for this (Mac/Win/Linux). Windows will be the most work, but perhaps the most useful? If the entire thing (and dependancies) can run in user space anyone can install it (i.e. even if they don't have admin rights).

Cgg commented 10 years ago

We went for what seemed to be the simplest here, but we could explore some other directions. We already thought of a kind of Dashboard to use after the wizard (so that you dont have to go fiddling in .local/share/ etc), and a friend of ours suggested some ideas to turn this into "Datastringer As A Service", which would save us the installation trouble alltogether. (but which involve lots of headaches on other sides, such as user authentication).

A colleague of mine suggested that we use Docker to simplify the install process, which looks quite appealing too.

basilesimon commented 10 years ago

So, as we discussed separately: