Focal Point
[CLOSED] Schedule Maintain without ReportCaster

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/797104282

November 02, 2009, 06:00 AM
Dr. Nick
[CLOSED] Schedule Maintain without ReportCaster
Hi,
I have a Maintain procedure that sends emails and would like to automatically execute that Maintain daily using Windows Task Scheduler. Does anyone have a technique to accomplish this task?
Thank you,
Nick

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
November 02, 2009, 08:49 AM
GamP
If you could get the maintain to perform its trick using the edastart method, you could create a bat file that you then could schedule using windows task manager.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
November 02, 2009, 07:07 PM
Dr. Nick
Hi GamP,

Thank you for the info. I am not familar with the
quote:
edastart
method. Where is it explained in detail, hopefully with an example.

Thank you again,
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
November 11, 2009, 12:47 PM
Kerry
Hi Nick,

I checked with internals and was suggested that currently we do not have a technique on how to schedule a Maintain application without ReportCaster. The following examples on Techsupport website may be of help:

* TECHNIQUE: How to submit a WebFOCUS job in Windows/DOS.

* How to execute a focexec via a DOS batch file

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
November 12, 2009, 03:24 AM
GamP
With this technique to start a fex using the windows at command (i.e. the windows scheduler) you can start whatever you want, as long as it is something that can be run by the server. And maintain is something you can run from a fex, and certainly if it is a maintain without forms. And if you run in batch then I surely do hope that there are no forms in the maintain.
The code used to do this is slightly different from what is in the mentioned articles.
To execute a command from the edatsrt command line issue:
edastart -x ex appname/fexname

The fex can contain maintain code.

Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
November 12, 2009, 05:30 AM
Dr. Nick
Hi Kerry,

Thank you for the suggestions. I will test and advise.

Thank you again,
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.