The Job Setup tab displays all of the settings for a selected job, and allows you to create, edit, or remove Scheduled jobs.
To create a new job, click the Add button. |
|
To copy a job and all associated property settings, select the job row in the grid and click Copy. The copied job will be duplicated and assigned a default name (Copy1 of..., Copy2 of..., etc.). The job name can then be modified in the Job Name column. |
|
The Exit button will close the Scheduler Manager without saving any changes. |
|
To delete a job, select the job row in the Job Setup grid and click Remove. Click OK to confirm deletion of the job. |
|
The Revert button will refresh all job settings to the last-saved state as retrieved from the Database. The Revert button can also be used to refresh Next and Last Run times after changing job settings. |
|
If you wish to make changes to an existing job, select the job row in the grid, make your changes, then click the Save button. |
|
Selecting a job row in the grid and clicking Test will immediately send the job to the Job Queue for a one-time run. When you test a job with a Dynamic Routine document, or data processed, the results may differ from what you may expect from a real job. |
The interface allows you to search by string or group jobs by column.
Define a name for your job using the Job Name field. Job names must always be unique.
A defined job can be set to Active or Suspended using the Enabled column. Only Active jobs will be processed by Scheduler. Any jobs that are Suspended will not be included in the error check job settings when the Save button is clicked.
Assign a Job User to run the job. Any available Job Users will appear in the drop down.
The Category defines what the job can be used for. The category selected dynamically determines what options are available in some of the other columns, as well as which Reports appear in the Managed Reports dialog. Categorize the job as one of the following three:
A Timed job will run at a specific time; daily, monthly, weekly, or yearly. Timed jobs can be run at intervals, such as every three weeks. Additional Timing options are set in the Type, Timing, and Timing Interval columns.
Dynamic Routine Managed Documents initiate jobs when DataSmith processes data, or completes processing a subgroup. Additional Dynamic options are set in the Type column.
If a job is triggered for a Routine that is used by both a Static and a Dynamic managed document, then only the Static job will be sent to the Job Queue. To allow the Dynamic job to be sent to the Job Queue even with the Static job being queued for the same routine, you need to set the Force Dynamic Processing monitor flag both on the Routine via DataUtility as well as the job permission via DataSmith Batch.
Static Routine Managed Documents initiate jobs when DataSmith processes data, or completes processing a subgroup. Additional Static options are set in the Type column.
If a job is triggered for a Routine that is used by both a Static and a Dynamic managed document, then only the Static job will be sent to the Job Queue. To allow the Dynamic job t o be sent to the Job Queue even with the Static job being queued for the same routine, you need to set the Force Dynamic Processing monitor flag both on the Routine via DataUtility as well as the job permission via DataSmith Batch.
The options available in the Type column are dynamically dependent on which Category is selected.
If Timed is selected in the Category field, choose the interval at which you would like the job to be executed:
If Dynamic or Static is selected in the Category field, choose whether or not the job will run when Data is Processed or at the End of a Subgroup.
DataSmith Batch Manager, after completing tasks for Data Processed Monitored Routines, will check for Data Processed jobs and make entries in the Schedule Queue as needed. Entries in the Schedule Queue contain the information about the data (routines) that caused the entry. That same routine which caused DataSmith to place an entry in the Schedule Queue will be used as the routine for the query in the managed document. These settings are only available for Static or Dynamic jobs.
The following settings are required when using either the Data Processed or End of Subgroup job types:
When a job is timed, the options in the Timing column can be used to determine when and how often a job is to be run. Depending on the type of Timed Job, when you double-click the Timing field a different popup will appear (either a Time selection dialog or a Calendar and Time selection dialog).
Report Type determines the output of a processed job.
All jobs require at least one Managed Report to run the job and generate the printed report. When scheduled jobs are executed, the Managed Documents for each Managed Report are opened in CM4D Classic and generate either a Report, an Event, or both. The list of Managed Reports in the dialog depend on what is selected in the Job Type column. Multiple Managed Reports only share job settings; all of the Managed Reports in a single Job will still be processed as individual printed reports. See also, Managed Report Administration.
Depository (column) | Displays the label of the Depository assigned to the Managed Report. This Depository is where the report generated by the job will be sent on completion. |
Depository (dropdown) |
Choose a Depository to filter the list of Reports to show only Managed Reports from the selected Depository. If your Report Type is "Event", select All from the dropdown to see Managed Reports without Depositories assigned. |
Enter filter text here |
Enter alpha or numeric strings to find specific Manage Reports. Wildcards are not supported. |
Select |
Enable the check box to assign a Managed Report to the job. |
Report |
Displays the name of the Managed Report. |
A Priority can be set to Very Low, Low, Medium, High, or Very High. This priority will only be used when more than one job is waiting to be processed at the same time by the same process thread. The job with the highest priority will be processed first, but if all the Priority settings are the same (default is Medium), then jobs will be processed in the order they are entered into the Job Queue.
Once a job has begun processing, it will complete processing even if a higher priority job is placed the Job Queue.
The Sample Filter menu contains filters A through Z, along with an option for "No Filters". Only one filter and one value can be selected per job. Sample Filters are available for either Static or Dynamic jobs.
All of the subroutines that match the filter will be the ones processed and the routine will be added to the query. The subroutines will then be loaded and an exact match to the specified filter will be needed. Scheduler then checks to see if there is a job defined for that routine. If there is, DataSmith will create a job and pass all the information on to CM4D. If CM4D comes across a filter set, it will use that filter. If not, CM4D will ignore the filters.
The text field that corresponds with the Sample Filter allows you to key in the specific Sample Filter Value. You can also leave this field empty; blank or ~unassigned~ are valid values. Only one filter and one value can be selected per job.
In order for Filter Options to work correctly, you must know what you are looking for. The exact filter value must be entered into the edit field so that the value stored in the database will be an exact match.
When Static or Dynamic jobs are Consolidated, data files are sent to the Queue in groups specified by the number of Maximum Files set in DataSmith Batch Manager. When the Scheduler processes the jobs waiting in the queue, all entries that meet the following three requirements will be consolidated into one final job to be processed:
If a routine has 12 sample files, and the number of Maximum Files is set to 5, then for every 5 data files processed, one entry would be placed in the Job Queue. This would result in three total [Waiting] entries in the queue with one final [Processing] entry that will be processed by CM4D Scheduler.
The Time Delay option applies only to jobs that are in the Category Dynamic or Static. When the Time Delay is set to True, the job will be delayed by the number of minutes set in the Timing Interval field of the grid, starting from the time it is placed in the Job Queue.
If a job is put in the queue at 11:45:36 AM but has a 30 minute delay, Scheduler will not actually process the job until 12:15:36 PM.
The Timing Interval is designates the recurrence of a Timed job or the delay, in the case of Data Processed jobs. The Interval is dependent on the Type that is selected. Double-click the field and enter the number in the field according to the following rules:
A Tag is a user-defined string that may be used for sorting or grouping jobs within the Scheduler Manager user interface. This is only used for managing jobs in Scheduler Manager, this is not the same as the Report Tags used by CM4D Web.
Can we improve this topic?