Skip to main content

What is a Scheduled Job?

Scheduled Jobs execute business logic across your data sources and APIs on a recurring interval every minute, hour, day, week or month.

Set up frequency

On the Superblocks Home page, click + Create followed by Scheduled Job. Schedule a job to run every minute, hour, day, week or month for reporting or ETL Picking your schedule is as simple as creating a recurring event in Google Calendar. For example, create a job that runs once a week on Mondays at 8:00 AM. Scheduled jobs execute business logic across your data sources and APIs on a recurring interval every minute, hour, day or week.

Add steps

Continue setting up the job by adding integrations for each step. Here we’re querying information in our users database then transforming and sending it via email and Slack. The Superblocks REST integration can send calls to third party services including sending messages into slack channels
For API steps that authenticate with OAuth, only headless methods are supported in scheduled jobs.

Run job

Your scheduled job is now complete. Click Run job to see the resulting email and Slack message. Final formatted report received via email Slack message formatted as required and sent to chosen slack channel Click Deploy so the scheduled job now runs on the specified schedule. Successfully deployed jobs will be run on the specified schedule and run against production environment settings

Manage Scheduled Jobs

Run jobs manually

To run a job manually outside of its schedule, find the job on the home page, click the ellipsis icon to open the menu, then select Run now. Note, running a job manually does not affect the defined schedule; the job will continue to run automatically at the set interval.

Pause and resume jobs

A job that is deployed can be paused at any time. To pause a job so it no longer runs on its schedule, find the job on the home page, click the ellipsis icon to open the menu, then select Pause job. To resume, select Resume job*.

Monitor jobs with audit logs

You can view the results of all your scheduled jobs in the Audit Logs page filtered by Status (Success, Running, Error), Mode (Deployed, Testing) and Triggered by source. In the event that your scheduled job doesn’t run as expected, check the audit logs here for any errors. Monitor and troubleshoot scheduled jobs with Superblocks' Audit Log by showing success and error jobs

Monitor jobs with notifications

Whenever a job fails, an email notification is sent to the owner of the job. The message links to the failed job in order to support quick remediation. Receive email notifications when a scheduled job fails to begin troubleshooting

Turn off email notifications

Notifications are enabled by default for all scheduled jobs. To disable email notifications for a particular job, navigate to the job, open the dropdown menu next to the Deploy button, then click Settings. Control email notification settings within the scheduled job builder dropdown menu In the modal, toggle the switch to disable email notifications for the job. Toggle sending an email top the owner when the deployed scheduled job fails.