Skip to content
Download

Schedules ​

A schedule runs a saved job at set times. Scheduled runs work while your computer is on and you are logged in, also when QueryLane is closed.

Create a schedule ​

  1. Open the job and click Schedule.
  2. Turn on Run on schedule.
  3. In Repeat, choose how often the job runs:
    • Every few minutes: every 5, 10, 15, 20 or 30 minutes.
    • Every few hours: every 1, 2, 3, 4, 6, 8 or 12 hours, at the Minute you choose.
    • Daily: at a Time on the Days you pick.
    • Monthly: on a Day of month at a Time.
    • Cron expression: any five-field cron Expression (minute, hour, day of month, month, weekday), such as 0 9 * * 1-5. @hourly, @daily, @weekly and @monthly also work.
  4. Check the times under Next runs.
  5. Click Save.

Times use your computer's local time zone. The job page then shows the schedule and the next run time.

To stop scheduled runs for a while, turn off Run on schedule and save. To delete the schedule, click Remove schedule.

A scheduled run uses the saved job, not unsaved changes in the editor. When you import a job, its schedule comes along turned off.

AI agents cannot turn a schedule on. When an agent changes what a scheduled job runs, such as its steps, variables or schedule, or where one of its connections goes, the schedule pauses until you turn Run on schedule on again. See What agents may change.

Job schedule dialog with Daily repeat on weekdays and the Next runs list

How schedules run ​

When you save the first schedule, QueryLane registers a background agent with the system:

  • on macOS, a launchd agent stored inside the app, registered through SMAppService;
  • on Windows, a task of your user account in the QueryLane folder of Task Scheduler, set to run on battery power too.

The system starts the agent every minute. The agent checks whether a job is due and exits at once when none is. When a job is due, it starts the run without opening the QueryLane window.

A few rules:

  • If the computer was asleep at the scheduled time, the missed run starts once when it wakes up.
  • If the previous run of the job is still going, the new run is skipped.
  • QueryLane removes the background agent when you delete the last schedule.

Scheduled runs appear in Execution history with a clock icon and the Scheduled run tooltip.

Check the background agent ​

On macOS, the agent appears as QueryLane in System Settings > General > Login Items (Login Items & Extensions on macOS 15 and later). If you switch QueryLane off there, scheduled jobs stop running, and the schedule dialog says QueryLane is off in macOS Login Items.

On Windows, the task is in Task Scheduler, in the QueryLane folder. If you disable it there, scheduled jobs stop running, and the schedule dialog says The QueryLane task is off in Task Scheduler.

Open Settings > Schedules to see the state of the agent, shown as macOS background item or Windows scheduled task, for example Running, Off in macOS or Off in Windows. Click Open macOS settings, or Open Task Scheduler on Windows, to switch it back on. The same page lists Scheduled jobs with their last run.

Notifications ​

QueryLane sends a system notification only when a scheduled run needs your attention:

  • Scheduled run failed;
  • Scheduled run stopped by a result check;
  • Scheduled run finished with check warnings: N.

Successful runs without warnings do not notify. Click a notification to open the job. When you save a schedule, QueryLane asks the system for permission to send notifications if it does not have it yet. Turn them off with Scheduled runs in Settings > Notifications. See Result checks for how checks stop a run or add warnings.

Reports on success ​

To get a message after every run, including successful ones, use a notification plugin such as Telegram. When such a plugin is installed, the job editor has a Notifications section. Turn on Notify for the plugin, and the plugin receives the result of each full run of the job, manual or scheduled. The plugin settings decide which runs it reports and what the message contains.