Configuring the scheduler service

Before you can use the iBase Scheduler, you must configure the iBase Scheduler service.

About this task

To configure the iBase Scheduler service, you need to:

  • Set the frequency with which the service scans the Scheduler database for scheduled tasks.

  • Choose which events are recorded in the Service log file - by default, all logging options are selected.

  • Set the interval after which a scheduled task is canceled if the program that runs before or after the batch import/export is taking too long to run.

Note: You can also configure the service using the Windows Services application. For example, you might want to change the startup type from Automatic. There are no startup parameters for the service. For further information, see the Help for the Services application.

Procedure

To configure the service:

  1. Click the Service tab to display the Service page.

  2. Specify the frequency with which the service scans the Scheduler database, by entering the number of minutes and seconds. The default interval is 10 seconds.

    How frequently you want the service to run depends on the number of tasks that you are running, and available computing resources.

    Specify which details are recorded in the service log by turning on or off these checkboxes:

    Option

    Records

    Starts up

    When the service is started by using commands in the Windows Services application, or when the machine starts up (if the service is set to use Automatic startup).

    Shuts down

    When the service is shut down by using the Services application, or when the machine is shut down.

    Pauses

    When the service is suspended by using the Services application.

    Continues

    When the service is resumed by using the Services application.

    Fails

    When a problem occurs that prevents the service from running. An exception is when the database cannot be opened.

  3. If the programs associated with a task take too long to complete, enter the interval after which the service should cancel this and any other programs associated with the task. This is 10 minutes by default. This feature does not apply to plug-ins.

  4. Click Save.

What to do next

The service is installed to run under the local Windows system account, which is only applicable if the service is running on the local machine. If you intend to run iBase Scheduler using a Scheduler database that is installed on a different machine then the service needs to log on using a domain user name and password. This is set in the Windows Services application.

The account under which the service runs must have the following minimum file permissions:

Directories and files

Min. permission

Scheduler directory containing the file Scheduler.mdb

Modify

Scheduler.mdb

Read, Write

Directory containing the DLLs and EXEs for iBase Scheduler

List Folder Contents

DLLs and EXEs for iBase Scheduler

Execute

Directory containing the file on which a file trigger is created--- no permissions are required on the file itself.

List Folder Contents

Directory containing the batch scripts or plug-ins required to execute as task actions. Alternatively, you could assign List Folder Contents permission to the directory and Read & Execute permission to the files.

Read & Execute

Data files for import and/or the directories containing the data files. You will require Write permission if the file is to be altered by a batch script or plug-in, and Modify permission if the file is to be deleted by a task action.

Read

Directory containing the iBase security file.

Modify

iBase security file

Read, Write

iBase database directory (JET databases only)

Modify

iBase database file (JET databases only)

Read, Write

iBase database file (SQL databases only)

Read