ℹ️ The Auron SMS Server is now Auron Omni. Learn more here.

How can we help?

Run a campaign from the task scheduler


You can find out how to configure and run campaigns from the Auron Omni Manager here.

Sometimes it is useful to schedule a campaign to run at a specific time or at recurring intervals.

For example, you might have a monthly mailing that runs every first Monday. Or you might want to send appointment reminders to customers every morning at 9 AM.

This document explains how to run an existing campaign using Windows Task Scheduler.

1. Create a script to run the campaign

The first step is to create a script that runs the campaign so it can be executed from the command line. This is easier than it sounds and does not require scripting experience. You can follow the instructions here.

After following those steps, you should have a script called SendCampaign1.vbs in the folder C:\AuronScripts.

2. Open Task Scheduler

Task Scheduler is a standard Windows component and is available on all modern Windows versions.

You can open it by typing Task Scheduler in the Start menu.

Alternatively, press Windows + R, type taskschd.msc, and press Enter.

Once open, click Create Basic Task to start the wizard.

Windows task scheduler

Windows Task Scheduler

3. Create a basic task

The wizard first asks you to enter a name and description for the task.

Add basic task - Name and description

Add basic task – Name and description

On the Trigger page, choose the schedule time and interval based on your requirements.

On the Action page, select Start a program. Then point it to the SendCampaign1.vbs script.

Add basic task - Specify campaign script

Add basic task – Specify campaign script

Click Next again. Before clicking Finish, enable the option Open the Properties dialog for this task when I click Finish.

Add basic task - Finish

Add basic task – Finish

4. Task properties

The task properties dialog opens because one important setting still needs to be checked: the user account that runs the task.

By default, the script only runs when the user is logged on. To ensure it always runs, click Change User or Group.

In this dialog, enter the user account that also runs the Auron Omni service. If you are unsure, you can use SYSTEM.

SYSTEM refers to the Local System account. This account does not log in interactively, so no password is required. If you use a different user account, select Run whether user is logged on or not.

Task scheduler - Task overview

Task Scheduler – Task overview

The campaign now runs automatically at the scheduled time. You can verify that it works by checking that new messages appear in Auron Omni Manager at the expected time.