C.0 Orchestrator Job Scheduling DTD

schedule_1_0

<?xml version="1.0" encoding="UTF-8" ?>

<!--
 * Copyright (c) 2007 Novell, Inc. All Rights Reserved.
 *
 * This software and documentation is the confidential and proprietary * information of Novell, Inc. ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement you
 * entered into with Novell.
 *
-->

<!--
A DTD for Novell Zenworks ZOS job scheduling

 Use:
   <!DOCTYPE schedule PUBLIC '-//Novell Inc//DTD Zenworks ZOS Schedule 1.0//EN' 'http://www.novell.com/dtds/zenworks/zos/schedule_1_0.dtd'>
-->

<!--
The schedule element is the root element for defining job scheduling and triggers.
A schedule contains job schedules and triggers.--><!ELEMENT schedule (job|trigger)* ><!--The job element is the root element for job scheduling.A job contains jobargs, scheduling options and which triggers to use.--><!ELEMENT job (jobargs?,resourcediscovery?,active?,passuserenv?,runonresourcestart?,runonserverstart?,runoneachresource?,triggers*)><!--The resourcediscovery element indicates this job is to be run to discover facts on a resource.--><!ELEMENT resourcediscovery (#PCDATA)><!--The active element indicates this schedule is to be activated upon deployment.--><!ELEMENT active (#PCDATA)><!--The passuserenv element indicates that the user's environment factset, if available, is to be available in job execution.--><!ELEMENT passuserenv (#PCDATA)><!--The runonresourcestart element indicates the job is to run when a resource has logged in.--><!ELEMENT runonresourcestart (#PCDATA)><!--The runonserverstart element indicates the job is to be run after the server has started.--><!ELEMENT runonserverstart (#PCDATA)><!--the runoneachresource element indicates the job is to be run on every resource.This is also subject to the job's policies.--><!ELEMENT runoneachresource (#PCDATA)><!--The triggers element defines what triggers if any are used for this scheduled job. Triggers listed here must be defined either in this file or already exist.--><!ELEMENT triggers (#PCDATA)><!--The trigger element is the root element for trigger definition. The trigger element defines an event trigger for starting a scheduled job.The name attribute is required for uniquely identifying the trigger.--><!ELEMENT trigger (cron?,startin?,interval?,repeat?)><!--The cron element defines a cron string--><!ELEMENT cron (#PCDATA)><!--The startin element defines the number of minutes to delay until starting a scheduled job.--><!ELEMENT startin (#PCDATA)><!--The interval element defines the number of minutes to wait in between scheduled jobs.--><!ELEMENT interval (#PCDATA)><!--The repeat element defines the number of iterations to run a scheduled job.--><!ELEMENT repeat (#PCDATA)><!--The jobargs element allows specifying values for jobargs facts on job submission.--><!ELEMENT jobargs (fact)*><!--The fact element defines which jobarg fact is being assigned. The name, type and value of the fact are specified as attributes. For list or array fact types, the element tag defines list or array members. For dictionary fact types, the dict tag defines dictionary members.

The jobarg fact must be defined in the jobargs namespace for the job.
--><!ELEMENT fact (element*,dict*)><!--The element tag defines a member of a list or array fact. The required value attribute defines the value of a member of the list or array.--><!ELEMENT element (#PCDATA)><!--The dict tag defines a member of a dictionary fact. The required key, type and value attributes define a dictionary member.
-->
<!ELEMENT dict (#PCDATA)>


<!ATTLIST jobname CDATA #REQUIRED
job CDATA #REQUIRED
user CDATA #IMPLIED
priority CDATA #IMPLIED
>

<!ATTLIST triggers
value CDATA #REQUIRED
>

<!ATTLIST trigger
name CDATA #REQUIRED
description CDATA #REQUIRED
>

<!ATTLIST cron
value CDATA #REQUIRED
>

<!ATTLIST startin
value CDATA #REQUIRED
>

<!ATTLIST interval
value CDATA #REQUIRED
><!ATTLIST repeatvalue CDATA #REQUIRED><!ATTLIST factname CDATA #REQUIREDtype CDATA #REQUIREDvalue CDATA #IMPLIED><!ATTLIST dictkey CDATA #REQUIREDtype CDATA #IMPLIEDvalue CDATA #REQUIRED><!ATTLIST elementtype CDATA #IMPLIEDvalue CDATA #REQUIRED>