Script for Linux
Opened this issue · 2 comments
Hello there..
i wanna ask if you could translate this script to bash or shell script... would be nice for Linux users
:)
I'll look into it but some of the things in the script (like reading from JSON) are much more complicated in bash, I could see maybe rewriting in python but for now another alternative I've used for other powershell scripts is to use powershell in docker. I just uploaded an example compose.yml... https://github.com/jmclaren7/uptime-kuma-push/blob/main/compose-example.yml
Since the docker solution isn't using any scheduling like cron, you'll want to use the loop and loop_delay options in my script to let the script repeat forever inside the container.
Let me know what you end up doing and how it works, I might improve the compose example and add a little documentation if it seems like a reasonable solution.
That would be awesome if you could do that...
Thank you so much
<3