All Questions
3 questions
0
votes
1
answer
6k
views
Send email depending on success of curl command
I created a script to monitor and have a query as below :-
httpUrl="http://some.website.ashx"
balExp=$(curl -v -X POST -d "UID=test&PWD=2222" $httpUrl)
How do I sent email alert (my email for ...
-1
votes
1
answer
3k
views
How to print gmail inbox messages
I want to print inbox messages one by one (like cat someFile) so that I can parse the message contents.
something like printGmail InboxMesg1 | grep some | sed some
Using curl I can access the ...
5
votes
3
answers
2k
views
Crontab job not emailing on failure
I have a cron job on Debian:
1 * * * * /home/paradroid/bin/myscript.sh >/dev/null
There is an installed and configured MTA, and I have received emails when the script has a syntax error, so I have ...