mashlol / notify

Notify your devices from the terminal

Home Page:https://mashlol.github.io/notify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Execution from crontab

Project-42 opened this issue · comments

Hi, sorry if Im opening an issue for something is probably my lack of linux understanding...
Im trying to use notify to send me a script's result using cron.
Im able to execute notify from command line, but if I execute it from crontab, is not working:

I tried like this:
crontab content:

19 08 * * * /home/solifugo/notify_test.sh
22 08 * * * /usr/local/bin/notify -t "test2"

none of them are working executed by cron, but they are both fine if I do it from command line.

raspi: cat /home/solifugo/notify_test.sh
#!/bin/bash
/usr/local/bin/notify -t "test"
raspi:

I read something about Node script execution, but not sure if that applies here.

Anyway, hope someone can guide me.

Btw, the app is very nice. Simple and exactly what I really need (once I get crontab script working.. :P )

Thank you! 😊 , that is a valid solution for my case.