Ok i did it but what option i must select on pushover? Script? [IMG] Thanks :)
Only just saw your post now I used website because I am using the same pushover API application I have setup for the forums (future premium user feature ) You can use script I suppose
Only just seen these replies. Running the script each minute will case basically zero over head, as it's a small for loop going a ps, 2 greps and a wc. As for setting up the Type in Pushover, mine is set up as a website, because it's working on my forum, but the bash script still works through it.
Yeah there's a 7,500 free message limit per API application https://pushover.net/faq#overview-limits so you could technically have a separate API application for each task i.e. one for forums, and each individual bash script. Or is there a limit to how many API applications you can create ? Don't see any mention in their FAQ ?
In a few weeks you will not need to buy the iOA /Android app as it will be free and you will need to buy a license from the site .... At least for me that i do not use any credit card that is much better as i can use Paypal
This is a reply on my mail to them as i want to try this service but i was not able to buy it from itunes (no credit card) and the gift cards in my country starting from about 20$ and as i never buy from itunes i don't want to use it for 5$ So i will wait on July to test it and buy a license using Paypal
put the bash script code into a file ending in .sh extension i.e. i usually put my scripts in custom created directory at /root/tools so /root/tools/pushover-script.sh and then make script executable Code (Text): chmod +x /root/tools/pushover-script.sh then using crontab -e launch nano linux text editor and add a cronjob for the script nano which you can read up more about nano here and here. For vim text editor read here and here. Also there's numerous online how to use guides for nano and vim you can search for via google
Hello, Thanks for your answer. so 1- I will put my process list at this file /root/scripts/process_list.txt 2-Create the bash script as you said. what should I put at the crontab -e ? where can I put my pushover email ? Thanks a lot
yup crontab -e command to invoke nano text editor see guide at HowTo: Add Jobs To cron Under Linux or UNIX?
Hi @eva2000 , I'm trying to create the process list using vi and nano editors but server refused to save this file, how can I solve that please ?. I have created the script .sh first. May that issue ? Thanks