LINKTools®
Scheduler:
IMPLEMENTING THE INTERFACE
LINKTools®
Skill level= Beginner
|
|
|
LINKTools® Scheduler
(Interface Automation)
The LINKTools® Scheduler allows installers
to schedule and automate repetitive and/or once-daily
interface tasks and processes interface transactions
at user defined time intervals.
For example, the scheduler is able to execute
task command for copying or moving data (for
archive purposes), run the LINKTools® Interface
Engine to execute data transformation or Interface
Manager utility (Deleting aged records and ensuring
the efficient operation of the interface), suspend
the interface for back-ups, run the LINKTools®
batch utility that creates batch files (if applicable),
and even run programs or utilities provided
by the user that is not part of the LINKTools®
Application. The Scheduler can be stopped, paused,
reset and restarted at the user's discretion.
The Scheduler also provides the user with a
scrollable view of all interface events that
have taken place and/or are occurring in real-time
and the log file that describe the time and
task its execute. The following are steps to
access the LINKTools® Scheduler configuration
Dialog Box:
-
Locate the LINKTools®
Scheduler on the desktop shortcut, and then
double click to start LINKTools® interface
automation
-
Click Pause on the Tools
menu of the LINKTools® Scheduler. If password
enable, on the first invocation, you will
be prompted to set a password. On subsequent
accesses to this function and to shutdown
the LINKTools® Scheduler, you will be
prompted for this password. When you successfully
setting up your password the scheduler will
turn gray. Click on File and select "Configuration"
to open the scheduler Configuration Dialog
Box
-
The LINKTools® Scheduler
configuration dialog box is divided into two
section:
a- Applications in the first section is activated
once a day (Process Manager)
b- Applications in the second section is running
at default two second interval (Repetitive
Task)
-
The first section "PROCESS
MANAGER Suspends From" has on the
right side of the column a default time set
at 04:00 AM to 04:30 AM uses for LINKTools®
Management application to suspense interface
operation and activates the interface routine
management to purge old patient records stored
in the Backup folders and in the intermediate
database (DBASE only)
-
The Run Once A
Day contains single event task
command line, by default the first command
is a call to LINKTools® Interface Management
Routine "LTMANAGE.exe". The LTMANAGE
application uses pre-configured instruction
from the INI file called LTManageOrder.ini
to execute its task. The LTManageOrder.ini
contains the Rule File (rule_file)
- The "Run Once a Day" contains single event task column,
by default the first command line in this column is a call to LINKTools®
Interface Management Routine called LTMANAGE.exe. The LTMANAGE application
uses pre-configured instruction from ini file "LTManageOrder.ini"
to execute its task. The LTManageOrder.ini contains one Rule File
(rule_file) and many delete file rules (del_file). The rule_file is
used in conjunction to the Mapper interface template that utilized
an intermediate database in order to purge aged patient records stored
there
(Note: for SQL or MySQL database the process uses LTManageSQL.exe).
The delete file rules (del_file) is used to delete interface backup
transactions in the backup folder,
LINKTools® Interface Management Routine will purge old interface
transactions and clean up its intermediate database that is older
than 30 days by default, installer can configure the LTmanageOrder.ini
if longer storage greater than 30 days is needed
- The second section is a "Repetitive Task column", here
all the interface call command lines are placed, when the scheduler
activated by user the interface automation start.
LINKTools® Interface Engine is triggered by the command call to
processed data transformation by reading instructions and Tags in
the Mapper interface templates reference in this column
The following is example of a command call to trigger the LINKTools®
interface engine and the Mapper interface template reference:
C:\LINK\LTUP.exe C:\LINK\OrderLNK.MPR
C:\LINK\LTUP.exe = this command is to trigger the LINKTools® interface
engine
C:\LINK\OrderLNK.MPR = this call is a pointer for LTUP to the reference
Mapper interface template
Example of LTManageOrder.ini file:
[LTMANAGE]
archive_directory=c:\LINK\backup<<<Your
Backup folder
rule_file=c:\LINK\orderlnk.mpr,30<<<Mapper
name and duration of records older than 30 day
to purge
del_file=c:\LINK\backup\orderR\*.ord,30<<<Directory
of the backup files older than 30 day to be
purged
del_file=c:\LINK\backup\ResultR\*.txt,30
del_file=c:\LINK\backup\ResultL\*.lin,30
del_file=c:\LINK\backup\ResultS\*.sen,30
del_file=c:\LINK\Archive!\Receive!\*.ord,30
del_file=c:\LINK\Archive!\Send!\*.sen,30
del_file=c:\LINK\Archive!\Update!\*.txt,30
del_file=c:\LINK\l*.log,1
mode=auto
LINKTools® Scheduler Shortcut icon
|