Consultor Eletrônico



Kbase 20885: CorVu: Run the Scheduler from UNIX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/09/2005
Status: Verified

GOAL:

How to run the CorVu Scheduler from UNIX

FIX:

CorVu usually provides a UNIX script to start a process on a UNIX
box (see 'cvsched' below). You might need to edit the script to suit
your configuration.

This process checks for any schedule files (*.sch) in the 3-tier user
home directories approximately every 5 minutes. When a .sch file is found:

- It is opened.

- The time is checked.

- It executes the content if the scheduled time has passed.

Follow these steps to make a valid schedule file:

1) Log in to CorVu and the 3-tier directory structure.

2) Choose 'Open from server' in the file menu.

3) Choose "Make a New Schedule File".

4) Add only valid CorVu queries that work in 3-tier.

In other words, a CorVu Object that has no references to
Windows PC files, and that only uses components that do
exist in public directories on the UNIX 3-tier directory
structure.

5) Test with some simple queries.

The scheduler file is saved into the top level home
directory of the 3-tier user you logged in as.

The following script fires up the CorVu server-based scheduler. It accepts one parameter that is the current build (for example, "cvsched 55" loads the scheduler for build 4.1.0.55).

This script should be run each time the UNIX box is loaded. It could be included in the standard startup directory (CorVu/scripts):

if [ "$1" = "" ]
then
echo "You must enter the build of the Scheduler"
exit 1
else
/export/home/corvu/servers/engines/4.1.0.$1/cvengine -s
fi