MetaHub - MetaBase App (config file)
I have some questions related to the MetaBase app that came with the MetaHub:
Is it possible to set the config json file to log and download? In the tutorials, it says you have to set it to log, then come back later and type in download.
Is it possible to set the logger for 5 hours, download, then repeat the sequence until the program is terminated? And can that be captured in the config file?
I couldn't find where in the command log.js (spelling off) one can set the actual time for logging. Anyone have any insight?
I want to be able to ship this off to a lab with instructions on how to implement it in as few instructions as possible. The more automation I can include the better. Unfortunately I'm not a JavaScript guru so I'm afraid to tinker with the MetaBase app too much. However if there are examples that show how to do the above, I can surely implement them. Thanks!
Comments
Based on what you are telling me, what you can do is set scripts to run a certain times (using crons or at or systemd ) to either log or download. You will have to do some google-fu to learn how to setup these timed scripts at the OS level.
https://www.tecmint.com/auto-execute-linux-scripts-during-reboot-or-startup/
https://www.linuxjournal.com/content/schedule-one-time-commands-unix-tool
The config.json file isn't setup to download and log at the same time. But there is nothing that says you can't have scripts doing this in parallel or use the methods above to invoke the metabase app at any time of day.
Ok, I'll give it a shot and try to incorporate it. thanks