Ga naar inhoud

Modules batch

Modules.Batch

This module allows to run specified tasks at regular intervals. It does not implement these tasks, the actual tasks should be implemented by other modules.

If an exception occurs during a task, the exception is caught and logged.

The following methods are exposed:

StartBatch

Start the batch timer.

Declaration

procedure StartBatch;

StopBatch

Stop the batch timer.

Declaration

procedure StartBatch;

RunBatches

Run the batches scheduled to be run (according to configuration) at the given date/time.

Declaration

procedure RunBatches(aDate, aTime: TDateTime);
This is called at every timer tick.

RunBringConfirm

Run the bring confirm batch job for the given date.

Declaration

Procedure RunBringConfirm(aDate : TDateTime);
The actual implementation is in the Modules.Bring unit.