Run modes

You can run a Peliqan script (data app) in different ways:

Scheduling runs

Use the “Schedule” menu option in the top menu of the script editor, activate the schedule and choose an interval:

schedule.png

If your script takes a long time to complete and is still running when the next interval arrives, the next run will be queued. The scheduler will make sure that your script is never running twice at the same time (no parallel runs).

If you want to run your script e.g. every Monday or once a week, choose a daily schedule and check for the day of the week or date in the code. Example: