New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ntfy background shell? #67
Comments
Ok I tried differnet things. I suppose ntfy don't send notification, if ntfy is called throug a second script. First (bash) script start.sh:
and the second script look like this:
Is this an error on my side? Hope the question is not to silly. It's my frist bash script and I'm very new in ubuntu/bash. |
You say you're running this on a headless server. If that's the case you can only send notification using one of the remote backends (pushover, pushbullet, etc). I use Pullover(a pushover client) on my host machine to get notifications from a headless VM. |
I am unable to get ntfy working from a script launched by crontab on a headless debian 8.5 server. Additionally launching the notification script from another script isn't working. Notify.sh quick test is to run below Output is:
Not sure where to go from here because I've tried every variation of executing ntfy from bash scripts that I can think of. Any ideas? |
don't run it with bash (it's a python script). Those errors are from bash trying to interpret a python script |
Same problem running it from within a bash script executed by cron. |
I had to specify full path to
|
I want to use ntfy to notify me from my headless serve (ubuntu 14).
A script starts at inserting a disc in the drive
SUBSYSTEM=="block", KERNEL=="sr0", ACTION=="change", RUN+="/usr/local/bin/add-disc.sh"
In add-disc.sh i do some differnet things (in the backgrond -> headless) and want be notified via ntfy. All commandos in add-disc.sh works - not nfty.
Is there a parameter to let nfty work in background?
The text was updated successfully, but these errors were encountered: