There are two categories of scripts one can write when developing a SOIL application: scripts that run when something happens for example when new data arrives and scripts that run on a schedule.
The entry points for these scripts are defined in the
soil.yml file on the top of the project.
An example syntax of the file is the following:
To run script with soil you can do:
Where group is one of: setup, data or schedules and script is the name of a script inside that group.
It is possible to override params:
It is responsibility of the programmer to ensure there are no race conditions and to implement, if necessary, the required data locks to avoid syncronization issues.