Defining a Recurring Job definition
-
Access the Recurring Job Definition form, and click
Add from the toolbar.
A blue indicator is displayed next to the job, signifying a pending add action.
-
Specify these required details:
Field or option Description User Name Indicates the user for whom you want to define recurring jobs.
To select a user name:
-
Click the Search icon located on the right side of User Name field.
Drill Select dialog window displays all available user names.
-
Click the Select icon next to the Login Name.
The Drill Select dialog window closes and returns to the Recurring Job Definition form.
Job name The name of the job you want to run on a recurring basis. The job must already be defined on the Multi-Step Job Definition form or a Lawson batch parameter form. The job owner must be the user typed in the User Name field.
To select a job:
-
Click the Search icon located on the right side of Job Name field.
Drill Select dialog window displays the available jobs.
-
Click the Select icon next to the Job Name.
The Drill Select dialog window closes and returns to the Recurring Job Definition form.
Job Queue Specifies the job queue on which you want the recurring job to run. Frequency Specifies the frequency with which the batch job is run by the system. The options are half hourly, hourly, daily, weekdays, weekly, bi-weekly, monthly, end of the month, and annually. Start Date Defines the date the job is to start running.
This date must be greater than or equal to the current date. You can use the system to select a date less than the current date, but results might be unpredictable.
Stop Date Defines the date the running of the job is stopped by the system. This date must be greater than or equal to the start date.
Note: The system stores recurring jobs on the Recurring Job Definition form until you delete them. The recurring jobs still exist, but they are not submitted by the system after their stop dates.Run Time Defines the time the system submits the job. Grace Time Specifies the time span within which the system must start the job based on the run time. A grace time ranges between 1 to 99, where a grace time of 99 denotes a job that runs regardless of the elapsed time.
If a job whose run time has passed is found by the system, it checks the elapsed hours and reads the Grace Time field to see whether it should still run this job. If the grace time has passed, the If Late field is read by the system to determine the next course of action.
Next Run Date A non-editable field; displays the next scheduled run date for the job.
When you first add a recurring job, this field is blank until the job is submitted. Changing the Stop Date value after a job has run causes the system to clear out the Next Run Date value.
Last Run Date A non-editable field; displays the date the system last ran the job.
When you first add a recurring job, this field is blank until the job is submitted. Changing the Stop Date value after a job has run causes the system to clear out the Last Run Date value.
If Late The If Late field works with the Grace Time field and tells the system what action to take when a job has not started to run within the grace time.
If Late has two options:
-
Hold
: This option puts the job on hold and takes no further action. The system stores the job on the Waiting Jobs tab of Job Schedule with a Hold status and does not run it again until you manually restart it. -
Next
: This option bypasses the job for the current run and calculates the next run date. The system stores the job on the Completed Jobs tab of Job Schedule with a Recurring Job Skipped status and does not run it again until the next scheduled run date.
-
-
Click Submit to save the changes.
The new definition is displayed in the Recurring Job Definition list.