Schedule imports
Run an import, a data load or both on a cron schedule, and switch on the jobs that process scheduled imports and loads.
Schedule an import when the same source must be read again and again, such as a nightly directory or database feed. Administrators can schedule the import into the staging table, the load into the target table, or both together.
Before you begin
- You need the
administratorrole. - Have a working import source, staging table and transform map. Run the import and load by hand once first, as in Import a spreadsheet.
- Choose how often to run. Daily is usual. Never schedule an import every minute. If the target needs data within minutes, push it from the source system through the REST API instead.
Steps
-
Go to Administration → Configuration → Jobs. Open “Scheduled data import processor” and select Active. Do the same for “Scheduled data load processor” if you will schedule loads. Both jobs ship inactive, and no schedule runs without them.
-
To schedule the import, with or without the load, go to Data import → Import → Schedule import data….

The Data import menu with the schedule import and schedule data load items. -
Enter a Name and select the Import staging table and the Import data source. To load the data straight after each import, open Display optional transform and select the Import transform and Import load type.
-
In Schedule, enter a cron expression, such as
0 0 1 ? * * *for 01:00 every day. To run every few days, add@and the number of days, such as0 0 1 ? * * * @ 14. -
Select Job immediately active? to start the schedule now, then select Submit.
-
To schedule only the load, go to Data import → Load → Schedule data load… instead. Enter a Name, the Import transform, the Import staging table, the Import load type and the Schedule, then submit.
The cron expression has seconds as its first field, as in the shipped jobs. Schedules run in the instance time zone, set by system.timezone.
Result
A scheduled import appears under Data import → Import → Scheduled imports, and a scheduled load under Data import → Load → Import scheduled loads. Each run updates the record’s Status to Waiting, Running, Success or Error, and adds a log under Previous imports or Previous loads. To pause a schedule, clear Active on its record. If Servicely cannot schedule a record, for example because its cron expression is invalid, it clears Active on that record.