• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle













  • Perhaps it would be better to continously monitor the situation and send an email with start / stop time in one go.

    Still, shouldn’t be hard: Script that runs in a loop, that checks internet connectivity by connecting to a reliable source, eg. some major cloud provider’s service If the service call times out, catch the error and record the time and enter a 2nd loop, which tries to send a message with the start time of the error and the time the loop ran.

    Remember to put some sleep in the loops so that they run every few minutes or so.

    I would also suggest something like a telegram or slack message. Modern email servers can be cantankerous about random scripts sending email.

    You can build this with basically anything: Node red, python, ruby, shell scripts or home assistant would be my choices.

    You might want to also set up some kind of monitoring in case the script goes down, many ways to do this, simplest one being a shell script which restarts a nested script or something like monit or systemd.






  • I think you’re on to something.

    I studied in a university which also had a famous art department. I tried taking courses on the art programme’s aide, but they didn’t take me - all courses required the 10 month basic arts studies to participate.

    I think some mingling would benefit both the artists and the techies. Steve Jobs famously studied calligraphy, and later made apple the mainstay of digital art, so it can be profitable too.