Defining and configuring recurring jobs for ION APIs

This topic describes how to create two new recurring batch jobs that must be added to the LSF server.

One of these jobs is to read the ION Inbox for BODs. The universe tokenreadinbox is referenced in the job that you create. For simplicity, this topic uses the name IONREAD for the new job. You can use any name.

The other job is to remove successfully completed jobs on a schedule that is appropriate for your system, for example, once per day. The universe token cleaninbox is referenced in the job that you create. For simplicity, this topic uses the name IONCLEAN for the new job. You can use any name.

These instructions assume that you are an experienced LSF system administrator familiar with the jobdef and recdef utilities. Details about working with these tools are in Lawson Portal Administration Guide.

  1. Using the Infor Lawson Interface Desktop (LID), create two new jobs.
    1. Create IONREAD against the universe token readinbox. Set the expiration date of this job to be far in the future, for example, 12/31/2050. This ensures that the job never expires.
    2. Create IONCLEAN against the universe token cleaninbox.
  2. Configure the new jobs to be recurring using recdef. Use timeframes that are appropriate for your site. For example, you might set up IONREAD to run every thirty minutes and IONCLEAN to run once per day.
    Output from the new APIs is generated in LAWDIR/system/ion.log.
  3. If you want to make updates to the schedules for these jobs, you can do so using the Recurring Job Definition utility through Lawson Portal.