Scheduled Jobs

Strengthen automaticity of your workflows using scheduled triggers

Kieran McKeag avatar
Written by Kieran McKeag
Updated over a week ago

What are Scheduled jobs?

Scheduled jobs or triggers tell your workflows a given date and time in which they should run within Miqa's UI. If you have a certain time of day or day of the week that you want to run a specific workflow, you can set the time of a specific day that it should kick off on in Miqa's UI. For example, if you have a report to complete Monday morning, you can set a workflow to be kicked off at 12:00 am to be completed for the time you log onto Miqa to start your workday.
โ€‹


Why are they helpful?

You may want to run tests on a schedule if they are long-running or too computationally expensive to run on every code change, or if you do daily or weekly snapshot reporting for your team. Your CI/CD tools may allow you to create scheduled jobs with cron or other internal tooling (e.g. "schedule" trigger types in GitHub Actions), but if your provider doesn't include these options or if you prefer to configure scheduled jobs directly in Miqa, this is the feature for you.

How do you use Scheduled Jobs?

If you already have an existing trigger and want to add Scheduled Jobs as a caller type, first navigate to the Test Trigger page from the Test Automation menu in the left sidebar. If you are starting from a Test Chain and want to create a new trigger for the scheduled job, click the quick actions button in the top right corner from the Test Chain overview page. Then select the "Create Linked Trigger" button from the dropdown menu to move into the trigger configuration and set-up page.

From the Test Trigger page, select the blue "+ Add Caller Config" button, select "Scheduled" from the Integration dropdown menu, and then simply set up a day of the week and time you want to kick off on from the dropdown menus on the Scheduled Job Configuration page.

After hitting save, you will have completed your scheduled job and have a new trigger attached to your test chain.

How do you delete Scheduled Jobs?

To delete a scheduled job, click on your trigger in the Caller Configuration box to move into the Edit Caller Config page. Once there, scroll down to the red "Delete" button, click it, and then confirm the deletion of your scheduled job.

Did this answer your question?