Defining a Recurring Job Definition
-
Go to Recurring Job Definition, and click
Add
from the toolbar.A blue indicator will be shown next to the job, signifying a pending add action.
-
Specify the 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 Recurring Job Definition.
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 Recurring Job Definition.
Job Queue Specifies the job queue on which you want the recurring job to run. Frequency Specifies the frequency with which the system is to run the batch job. 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. While the system allows you to select a date less than the current date, results might be unpredictable.
Stop Date Defines the date the system is to stop running the job. This date must be greater than or equal to the start date.
Note: The system stores recurring jobs on Recurring Job Definition until you delete them. The recurring jobs still exist, but the system does not submit them 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 the system finds a job whose run time has passed, it check 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 system reads the If Late field 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 will be shown in Recurring Job Definition.