Hi Dylan,
Thank you for writing Jobber. It has been a great help in my project, being a cleaner and better version of cron.
I have been using the notifyProgram function of Jobber, but I am having some difficulties reading the the JSON document from the stdin and I can't really figure out why. I searched around but still couldn't find any answers and hope you can help out.
I use notifyProgram to execute a simple bash script as follows:
#!/bin/bash
VALUE=$(cat)
cd <to directory>
python3 some_python_script.py "$VALUE"
where I attempt to read the file from stdin, and then pass it as a argv to my python_script.
May I know if I am handling the stdin wrongly? What does it mean when you say that you will "write to stdin a JSON document .. "?
Thank you for your help in advance. :)
Huang Weiqi