Script for updating importance JSON file on deepchaos.space
Requirements:
- Accounts for first run ("I haven't been run already, let's fetch all the data")
- Figures out last successful run, fetches all data since then
- Relearns based on new data
- Records date/time when successful
- Suitable for running from cron (no user interaction needed but supported if called interactively)
- Logs for debugging
- Supports being called for 1 or more satellites (though may depend on #52 (closed))
Outside the scope of this issue:
- Copying the output of
polaris learn
to right location - Setting up on a cron job (testing, etc)
Issues will be created for those once #55 (closed) is sorted out.
Edited by Hugh Brown