Setting up batch import and export tasks
Batch imports and exports are defined as tasks. A task consists of a single batch specification that lists one or more import or export specifications in the order in which they are to run and, optionally, actions to perform before and after the batch import or export.
About this task
The only restriction is that the import specifications cannot contain any prompts for user input. You will not be able to select an import batch specification that contains such an import specification. You should not modify an import specification that is used by iBase Scheduler so that it requires input; if you do so, the Scheduler service will not run the associated task.
Procedure
Results
How soon the task runs will depend on how frequently the service runs.
- Scheduling a task to run immediately
- You can schedule a task to run when the Scheduler service next runs, even if there is no trigger
for it:
- Select the task that you want to schedule.
- Click Run below the list of tasks.
- Editing a task
- You can change any of the details of the task without affecting any scheduled tasks. The
specification name shown may be different if the batch specification has been renamed in iBase.
To edit a task, select the connection, and click Edit below the list of tasks.
Note: Changing the name of the task will change the task name against all entries in the log, including log entries for completed scheduled tasks. If required, you can save the existing log file.Although the changes to the task are made as soon as you click OK, the changes only affect the Scheduler service when the next task is scheduled. To update the schedules, cancel the current scheduled tasks by making the trigger inactive.
If the batch specification used by a task is deleted, then the list of tasks will display #Not Found next to the name of the task.
- Canceling scheduled tasks
- To prevent iBase Scheduler from running a scheduled task, and prevent further scheduling, you need to make the trigger inactive. For details, see Setting up triggers.
- Deleting a task and its triggers
- You can remove a task, and any triggers defined for it, from a database connection by selecting
the connection to the database, then selecting the task and clicking Delete below the list of
tasks.
If you use the logging option, When tasks are scheduled to run, any scheduled tasks are marked as Trigger deleted in the log description.
Deleting a database connection will also delete all the tasks and triggers set up for it.