Table of Contents |
---|
| outlinh1. true |
---|
| outlinh1. true |
---|
1 | printablefalse |
---|
2 | stylh1. none |
---|
3 | indent20px |
---|
|
To reflect changes that are made in a parameters file that is included within a job, the file must be located in the live folder and must be inserted with the live_file attribute
We found out that if a job has parameters defined in an external XML file then changes to those parameters are not reflected until we "touch" or "change" the job XML.
Job with external parameter file
Code Block |
---|
|
<job idle_timeout="0" order="yes" process_class="/CE_MAINTENANCE" stop_on_error="no" tasks="1"
title="[CE] This job removes all records in the tables SCHEDULER_HISTORY, SCHEDULER_ORDER_HISTORY,
DAYS_SCHEDULE, SOS_FTP_FILES which are older than the value of the parameter
delete_history_interval" visible="yes">
<params>
<include live_file="/opt/gts/var/lib/JobScheduler/CleanupHistoryConfig.xml"/>
</params>
<script java_class="com.sos.jitl.housekeeping.cleanupdb.JobSchedulerCleanupSchedulerDbJSAdapterClass" language="java"/>
<monitor>
<script java_class="gts.prisma.service.batch.common.LogInfoMonitor" language="java"/>
</monitor>
</job>
|
...