Run a query on a schedule and send the results somewhere.
Any query that runs once by hand can run itself. This tutorial covers a BigQuery or Databricks source specifically, because both are now among the connections the background helper can run with QueryFlow closed, not just while the app is open.
With that toggle on, the background helper runs Snowflake, Redshift (IAM keys), BigQuery and Databricks jobs that deliver to S3, SFTP, a local file or email. Other jobs run while QueryFlow is open.
Be precise about the 100,000-row limit per query and the 25 MB Databricks result cap: a scheduled job that would exceed either doesn't get a partial result, it fails, so add a LIMIT or narrow the columns up front rather than after the first failed run.
The Trigger Type you pick shapes how you should think about the job. Interval is for anything that just needs to happen regularly regardless of the clock, Daily and Weekly are for report-style jobs tied to a specific time, and Custom Cron is there for the schedule that doesn't fit either, like every weekday at 6:45 AM but never on the last business day of the month.
Run Jobs When App Is Closed is the setting that decides whether a job actually fires while you're at lunch or asleep. Turn it on once, in Settings, Scheduling, and macOS will ask you to approve a background helper the first time it tries to launch. That approval step is a macOS security prompt, not a QueryFlow one, and it only needs to happen once per Mac.
Worth being exact about what the helper can and can't do: it runs Snowflake, Redshift with IAM keys, BigQuery and Databricks jobs, and only when they're delivering to S3, SFTP, a local file or email. A job with any other source or destination, Google Sheets or Slack for example, still runs, but only while QueryFlow itself is open. If a job silently stops firing after you close the app, that combination is usually why.
| If you see | Fix |
|---|---|
| Job doesn't run while the app is closed | Check the source and output are ones the helper runs (above). |
| macOS needs your approval to keep this running in the background. | Click Open Login Items Settings… and approve the helper. |
| Job fails immediately | Open its run history. It's usually the same error a connection Test shows. |