dlmpryor
(Buhay)
27 December 2020 20:26
7
Pol,
Here some links to example scripts.
They may or may not help.
I referenced them because I am thinking about using scripting to send a email alert when Input Threshold is Reached.
No, sorry, my main system is on Proxmox so I use that to backup the container nightly.
So, I have been able to create a cron job that submits a call to an input. That input then zero’s out my 3 feeds. I haven’t tested it extensively, but it seems to work.
Here is the cron job I have set up. It outputs a message that cron then emails to me. It’s a bit unnecessary but it’s only once a month:
0 0 27 * * if [[ $(/usr/bin/curl --data "node=cron&data={flag:2}&apikey=XXXb5b4e358bd451001095" "http://10.92.68.198/emoncms/input/post" -s -o /dev/null) -eq 0 ]] ; then echo "emoncms reset s…
Recently, I came across multiple posts in which users are willing to troubleshoot. When troubleshooting the first time myself, I also asked the question which commands and log files are interesting to look at.
Initially conceived as a very rudimentary quick and dirty fix script, it evolved into something more refined. Or so I hope
I tried to keep the skill level required to use the script as low as possible. That being said, you should at least be able to:
be able to log in on…