August 15, 2012, 04:50 PM
ABT[SHARING] Send yourself a text message from WebFOCUS
So, the issue was raised today "hey, I've got a long running deferred job that I need to make sure completes and does not get killed." This code will send you a text message when it is finished running. Note my carrier is AT&T and you will have to locate your phone's own email address (see this article:
http://www.popularmechanics.co...ology/how-to/4318204 for an explanation and small list of popular carriers' default domains and naming structures).
txt_me.fex
TABLE FILE CAR
PRINT
*
END
-RUN
-SET &TOVAR = '9995551212@txt.att.net';
SET ASNAMES=ON
-MRNOEDIT EX -lines 6 EDAMAIL &TOVAR.EVAL; ,
,
,
,
,
&FOCFEXNAME Finished running at &TOD
Hope this helps someone!
- ABT
August 15, 2012, 05:24 PM
Francis MarianiThanks for sharing this - I would love to make it work.
I get this error, probably because I do not have an email server set up:
EDAMAIL: Communication node is not found.
(ICM18822) Communication Error
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 15, 2012, 06:35 PM
WazI think that there is some setup, i.e. the mail server address.
Great idea ABT,