Skip to main contentThere are two parts of sources that are present across all of them: asset input and scheduling input.
For all sources, you need to input a name. This is the name of the source that will be used to identify the source in the Less platform. The description is optional.
You also need to choose an instance size. You can choose from a number of different instance sizes: Micro, X-Small, Small, Medium, Large, X-Large, 2X-Large. The instance size determines how much computational power is available to run your Source. The larger the instance, the more credits you consume. Read more about credits.
This is helpful to ensure that your sources have the appropriate amount of computational power. For a minor Source (like a Google Sheet) you can use a Micro instance, but that might not be sufficient for a database Source extracting tables with millions of rows.
You can always track how much computational power is utilized by your sources by navigating to the Job overview.
From the example above, you can see that we should perhaps try to decrease the instance size as we’re only utilizing ≈15% of the computational power available.
You also always need to set a schedule. This is the schedule that will be used to run your source. You’ll see three options: 1) never to avoid scheduling, 2) basic or 3) cron.
If you choose basic, you can select the interval (hourly, daily or weekly), the time of day, the timezone and the day of the week (only for weekly).
If you choose cron, you get full control over the schedule. Cron syntax is a powerful way to schedule your model runs. It consists of five fields:
- Minute
- Hour
- Day of month
- Month
- Day of week
For example, 0 0 * * * would run the model every day at midnight. Where 0 in minute means at the start of the hour and 0 in hour means at the start of the day (i.e. midnight). * means every minute, every hour, every day, every month, every day of the week so in this case every day of every month at midnight.
You could also choose to input 15 8-17/4 * * 1-5 to run your model at 15 minutes past the hour, every 4 hours, between 08:00 AM and 05:59 PM, Monday through Friday. In sum, you have full control.
You can choose from one of our presets and you can also view the 10 next times the model will run given your cron expression.