Setting up auto-processing

Using the Attendance Control Process Task of the Job Scheduler, system administrators must indicate the frequency with which the application processes attendance event and violation records. The event and violation dates that are included in each task run are also specified through the Attendance Control Process Task.

  1. Select Maintenance > System Administration > Job Scheduler.
  2. Click Add Schedule.
  3. Specify this information:
    Task Description
    Specify the name of the Attendance Control Process Task. The name must be unique and descriptive because users will identify the task by this name.
    Task Type
    Select Attendance Control Process Task.
    Task Affinity
    Select the scheduler that you want to run the task. This assigns the task to a specific scheduler to be run. By assigning tasks to various schedulers, the system can distribute the running of tasks across different schedulers, which may be running on different machines.
  4. In the Scheduled Time section, specify this information:
    Run at
    Specify the time of day the task will run.
    Timezone
    Select the time zone, if required. By default, the time zone of the application server is used.
  5. In the Scheduling Time section, select one of these options:
    • Once: Indicates that the task runs only once. If you select this option, you must run the task manually.
    • Daily: Schedules the task to run automatically at intervals every day or every few days. To specify the intervals when the task will run, do one of these:
      • Specify the number of days between runs in the Every...Day(s) field.
      • Specify the number of seconds between runs in the Interval...Second(s) field. A minimum of 5 seconds between runs is allowed (-1 indicates that the field is not used).
    • Weekly: Schedule the task to run automatically on the selected days of the week.
    • Monthly: Schedules the task to run automatically during the selected months. Select one of these options:
      • Day...Of: Specify a day of the month to schedule the task to run only on the specified day. For example, if you specify 1, the task will run on the 1st of each selected month.
        Note: If this value is greater than the total number of days in a month, the task will run on the last day of the month. For example, if a task runs on the 30th of each month, the task will run on the 28th or 29th in February.
      • Of: Select the week of the month, such as Second, and the day of week, such as Thursday, when the task runs from the two drop-down lists.
  6. In the Scheduling Range section, specify this information:
    Start On
    Specify the initial start date of the task run.
    End By
    Specify the last date the task is run. Leave the field blank to schedule the task to run indefinitely.
  7. Click Submit and then click OK.
    The Attendance Control Process Task is added to the existing list of scheduled tasks.
  8. Click Parameters beside the task you added.
  9. Select the date the task should run until from these options:
    • Current Date: The task will run until the current date.
    • Yesterday: The task will run until yesterday.
    • Last Week Day: Select the last day of the week that the task runs (for example, if today is Wednesday and you set this to Tuesday, it will run until yesterday, not last Tuesday).
    • Date: Specify a specific one-time run date on which you want to run the task. This option is only recommended for testing purposes.
  10. Select the amount of detail you want to display in the log from the Log Level pop-up menu:
    • None: No errors are logged.
    • error: Logs fatal errors and other errors. This setting is recommended for production use.
    • warn: Logs fatal errors, other errors, and warnings.
    • info: Logs fatal errors, other errors, warnings, and other information (for example, started updating employees).
    • debug: A wide range of details is included in the log. This setting is mainly used for debugging purposes.
    Note: The last processed dates are stored in these tables:
    • AC_EMPLOYEE_DATE.ACEMPDATE_EVENT_TO_DATE
    • AC_EMPLOYEE_DATE_ACEMPDATE_VIOL_TO_DATE

    During a run, the process dates will be counted as [last processed date + 1] until the date that is specified in the Attendance Control Task Parameters page.

  11. Click Submit to save the Attendance Control Process Task parameters.

See "Job Scheduler" in the Infor Workforce Management Time and Attendance Implementation and Administration Guide.