| To define a job |  |
| To define a new job, take the following steps: Start a session that you want to include in the job, and enter the data in the regular way. Click Add to Job. The Add Session to Job (ttaad5102s000) session starts. Click the browse arrow on the Job field to zoom to the Job Data (ttaad5500m000) session. Click New. The Job Data (ttaad5100s000) details session starts , which you can use to create a new job for your session. Enter a job code and a job description. Specify when you want the job to run as described in the next section To schedule a job. Click Save and close the Job Data (ttaad5100s000) session. You return to the Add Session to Job (ttaad5102s000) session. You can now add the session to the job as described in To add a session to a job. To schedule a job To schedule a job, take one of the following steps in the Job Data (ttaad5100s000) details session: To run the job at a specific time, clear the Use External Sched check box. You can enter the job's start date and time in the Next Execution Date fields further down in the session. To start the job yourself, select the Use External Sched check box. You can start the job by using the Job Data (ttaad5500m000) session. For details, see To run a job. To run the job at regular intervals, select the Periodical check box. You must then either: Define a calendar for the job. ERP LN will run the job on the dates and times that you define in the job calendar. For details, refer to To define a job calendar. Specify the period length. ERP LN starts the job at the start of each period. If you enter a date and time in the End of Period fields, ERP LN will not start the job after this time. Select the Use External Scheduler check box if you want to start the job in one of the following ways: Through an external job scheduler such as Maestro from UNISON, or through an external program such as UNIX. In the Activate Job (ttaad5203m000) session. Through ERP LN s job daemon. You can start the job daemon with the `rc.startjob<job>` command on the command line. To stop the job after a specific time To stop the job if it runs longer than a specific time, enter a value in the Maximum Duration field of the Job Data (ttaad5100s000) details session. If the maximum duration is reached, ERP LN finishes running the current session, but does not start the next session. Values up to 59 to represent minutes. To represent values of more than one hour, enter the number of hours followed by the number of minutes, without a separator. Example To specify 30 minutes, enter 30. To specify one hour, enter 100. To specify one hour plus 30 minutes, enter 130. Related topics To use jobs To add a session to a job To define a job calendar To run a job |