Focal Point
[CLSOED]Kick off command line/windows scheduler through webfocus
June 02, 2016, 09:45 AM
Kartik Katyal[CLSOED]Kick off command line/windows scheduler through webfocus
Hi all,
Is it possible to kick windows scheduler job through a fex file?
Thanks
This message has been edited. Last edited by: <Emily McAllister>,
WebFOCUS 8010,8204
Windows
June 02, 2016, 09:51 AM
Francis MarianiThe subject and the body of this post seem to be at odds with each other.
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
June 02, 2016, 09:52 AM
Ricardo AugustoWhat exactly do you need?
A) run a report from windows scheduler?
B) run a windows scheduler from a report?
Please, provide more information.
WebFOCUS 8.1.05 / APP Studio
June 02, 2016, 09:57 AM
Kartik KatyalApologies for the confusion.
I need to kick off windows scheduler through fex.
Thanks
WebFOCUS 8010,8204
Windows
June 02, 2016, 10:03 AM
Ricardo AugustoI never saw that before.
Why do you need that?
WebFOCUS 8.1.05 / APP Studio
June 02, 2016, 10:33 AM
Kartik KatyalTo execute an ETL through UI interface.
WebFOCUS 8010,8204
Windows
June 02, 2016, 12:13 PM
Ricardo AugustoI suggest you contact your IBI rep or open a case on
http://techsupport.ibi.com Can you describe what this ETL process handle?
You might be able to handle it using WebFOCUS and some skilled WF coder to code your new ETL fex.
Good luck!
WebFOCUS 8.1.05 / APP Studio
June 02, 2016, 04:42 PM
WazIf you can run it from the OS command line then, you can call it from WebFOCUS with an OS command call.
Waz...Prod: | WebFOCUS 7.6.10/8.1.04 | Upgrade: | WebFOCUS 8.2.07 | OS: | Linux |
Outputs: | HTML, PDF, Excel, PPT |
In Focus since 1984 |
Pity the lost knowledge of an old programmer! |
June 03, 2016, 08:35 AM
Squatchquote:
Originally posted by Waz:
If you can run it from the OS command line then, you can call it from WebFOCUS with an OS command call.
It can be run from the command line. You can launch the scheduler with either "taskschd.msc" or "control schedtasks".
But I could not get it to work from within WebFOCUS.
App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
June 04, 2016, 09:26 AM
Kartik KatyalSET &ECHO=ALL;
CMD F:\KickOff\OpenDoc.bat
-END
-RUN
-EXIT
I tried running a batch file. It didn't give any error but notepad didn't open either.
OpenDoc.bat was to open a notepad file.
WebFOCUS 8010,8204
Windows
June 05, 2016, 04:49 PM
WazAre you running your fex on your local machine or on a server ?
If its on a server, then the call is on the server and you will not see any gui program show up.
Waz...Prod: | WebFOCUS 7.6.10/8.1.04 | Upgrade: | WebFOCUS 8.2.07 | OS: | Linux |
Outputs: | HTML, PDF, Excel, PPT |
In Focus since 1984 |
Pity the lost knowledge of an old programmer! |
June 06, 2016, 04:29 AM
Kartik KatyalI actually ran it on the server, and could notice a new task in task manager every time I ran this.
But I still don't get the notepad window to come up.
WebFOCUS 8010,8204
Windows
June 06, 2016, 04:36 AM
WazThere is also a chance that the server is running under a different login than the one you are using.
Waz...Prod: | WebFOCUS 7.6.10/8.1.04 | Upgrade: | WebFOCUS 8.2.07 | OS: | Linux |
Outputs: | HTML, PDF, Excel, PPT |
In Focus since 1984 |
Pity the lost knowledge of an old programmer! |