You can run rules on a schedule using Loome Integrate. First, create a Loome Monitor Rule task and then create a schedule to execute the rule remotely.
This guide will go through creating an hourly daily schedule.
Learn more:
First, in Loome Integrate create a Loome Monitor task.
In your chosen job, or a new job, create a new task.
Provide a name and select your agent.
You can then find ‘Loome Monitor Rule’ in the list of task types as shown below.
Choose your Loome Monitor connection from the dropdown. This dropdown will show all available connections to Loome Monitor in Loome Integrate.
Select the Project that your rule is in from the next dropdown.
Choose the Rule you want to run on a schedule in the next dropdown.
Click Submit to save this task.
You can now run this Loome Monitor rule from Loome Integrate. (You can also create multiple Loome Monitor tasks and use a schedule to run multiple rules in one job.)
Next, create a schedule for the Loome Monitor task.
On the job page, you can find the schedules button at the top-right.
Click on Add Schedule at the top-right of the schedules page.
Choose a schedule type of either the setup wizard or manual crons. Skip ahead to learn how to create a manual crons schedule here.
For this example, we will be creating a recurring schedule that is daily and runs hourly using the setup wizard.
Next, choose a recurring schedule type. This will be an ongoing schedule.
First, provide a name for the schedule.
Next, choose the start and end date, as well as the timezone.
If you do not choose an end date, the schedule will remain ongoing until it is manually disabled or if the schedule is removed.
Next, choose to run daily from the dropdown. For the ‘Run every’ field, keep the value of 1 so it will not skip any days. This example will create a daily schedule that will run every day.
Next, choose the frequency that a job will run throughout the day.
For this example, choose hourly from the dropdown, and provide ‘1’ so it runs every hour.
Choose when the schedule will start and end. Provide ‘8:00AM’ to start the schedule at 8 AM. If you don’t provide an end time it will continue till the end of the day. Its last run of the day will be at 11:00PM.
Review your schedule, and click Create to save and enable this schedule.
Your Loome Monitor rule will now be run at your selected time in this schedule.
If you prefer, you can also add a manual crons schedule for the Loome Monitor rule. Crons schedules are only available as a recurring schedule. Learn more about crons schedules here..
Add a schedule and choose Manual Crons as a type.
Provide a schedule name, and choose a start and end date.
Provide the crons for this schedule, and then click Add.
For example, 0 9 * * 1
will run the job at 9:00 AM on Mondays.
Review your schedule. If you do not have any changes, save by clicking on Create.
The Loome Monitor rule will then be run at the set times of your schedule.