Skip to content

Auto Tasks ​

Auto Tasks allow you to automate Student Manager operations — such as emailing reports, running imports/exports, backups, and system maintenance — on a recurring schedule using Windows Task Scheduler. Tasks run unattended in the background without requiring user interaction.

Accessing Auto Tasks ​

Open the Auto Tasks list from the Student Manager menu. From here you can view, add, edit, and delete tasks.

Task Types ​

The following task actions are available:

ActionDescription
Email ReportRuns a report and emails it to specified recipients
Run Special ProcedureExecutes a custom procedure file (.FXP)
System MaintenanceRun backups, pack/reindex, catch-all cleanup utility, and apply updates

Creating a Task in Student Manager ​

  1. Select Tools > Database Admin > Auto Tasks
  2. Click Add
  3. Select the Action type from the dropdown
  4. Select the task type options:
  • Email Report - select the report you want to email/export; see the Emailing/Export Report Options section for more information
  • Run Special Procedure - click the ... to select the special procedure file
  • System Maintenance - check the maintenance procedures you want to (e.g. Backup, Pack/Reindex, Catch-All cleanup utility, or Download and Apply Update)
  1. Enter a Task ID — a unique identifier (up to 20 characters, no spaces).

Task ID Must Be Unique

  • The system will generate a Task ID for you by default. For example, SendReport. However, if you already have a task with that ID, it will not allow you to save it until you enter a unique ID.
  • You cannot enter spaces or any special characters (i.e. ?|/\{}[]()<>*&^%$#@!;:'") to the Task ID value. You can enter letters, numbers, hyphens, periods and underscores only (Aa 123 - . _).
  1. Enter a Description for the task
  2. Check Active to enable the task
  3. Enter a Notify Email address if you want to receive notifications when the task completes
  4. Click Save Changes to save the new auto task
  5. Use the Copy button to copy the command you will need when setting up the task in Window Task Scheduler
  6. Set a Student Manager user who has rights to run the Auto Task.
  7. If necessary, restrict the Auto Task to only run on specific computers or by specific users.

Emailing/Exporting Report Options ​

When choosing Email Report, you have additional options/settings.

  1. Click the Select Report button to select the report to email.
  2. Select the report and query. Depending on the report area, you may also have these options available:
  • Show waitlisted registrations - include waitlisted registrations in the report.
  • Include canceled records - include canceled registrations in the report.
  • Include "Billing Only" reggies - include registrations marked as Billing Only in the report.
  1. If you want to save the file, enter a path in the Output File field. You can use template expressions in the path. For example this expression will save a file named yourfile.pdf to c:\acehold[current year][current month] folder:
c:\acehold\##year(date())##\##cmonth(date())##\yourfile.pdf

Expressions must be enclosed in the ## delimiters.

  1. If you are only exporting the report, you can click the OK/Close button to save the Report Options settings and return to the Add Task screen. If you also want to email the report, continue to step 5.

  2. If you are emailing the report to someone, select the Email Options tab.

  3. Enter the email options (i.e. Sender option, Send To, CC, Subject, Message). You can use template expressions in Subject and Message. For example:

Subject: ##cmonth(date())## ##year(date))## Balance Due Report

Message: This is the Balance Due report for ##cmonth(date())## ##year(date))##.

Expressions must be enclosed in the ## delimiters.

  1. If you need to edit the query value after you initially set the query on the Output Options tab, select the Query Values tab and adjust the query.

  2. Click OK/Close to save the Report Options and return to the Add Task screen.

Choosing Export Fields and Destination Column Names ​

If you set the Output File to a CSV, DBF, XLS, or XLSX file, you can choose which fields to export and rename their destination column names.

  1. Click the Choose Fields button.

This Will Run the Report

Clicking Choose Fields runs the report so you can pick the fields to export. Click Continue on the confirmation message to proceed.

  1. Select the fields you want to export.
  2. The selected fields are listed in a grid with their Source Field/Expression and Destination Column name.
  • Source Field/Expression - lists the native field name. You can use expressions in this column, e.g. addcrse(rgcrse,"cocrsenm").
  • Destination Column - you can rename a field's column name in the exported file.

Destination Column

The Destination Column values cannot include spaces and can only use letters, numbers, underscores (_), and hyphens (-).

For example Course_Code can be used but not Course Code.

Export Fields and Destination Columns

  1. Use the Add Field and Delete Field buttons to adjust the list of exported fields.

Cloning a Task ​

Clone a task to quickly set up a similar task without starting from scratch.

  1. Highlight the task you want to clone.
  2. Click the More button.
  3. Select Clone task.
  4. When you clone the task, it clones the original Task ID and adds -Copy to it. You can change that if desired to a more descriptive ID, as long as it is a unique value.
  5. Edit the task details as necessary (report to run, query, etc.).
  6. Click Save Changes to save your new task.

You will need to set up this cloned task in the Windows Task Scheduler.

Set up Task in Windows Task Scheduler ​

Once your task is created, set up Windows Task Scheduler to trigger it automatically.

  1. Open Windows Task Scheduler by clicking the Open Task Scheduler button
  2. Click Create Task (don't select the "Create Basic Task" option)
  3. On the General tab:
    • Give the task a name
    • Select Run whether user is logged on or not
    • Check Run with highest privileges if needed
  4. On the Triggers tab:
    • Click New to add a schedule (daily, weekly, monthly, etc.)
  5. On the Actions tab:
    • Click New
    • Paste in the command you copied from the Add Task
  6. Click OK
  7. Since the path and the argument are pasted into the The Task Scheduler's Program/Script field, it will ask you to confirm. Click Yes

Task Scheduler Confirmation

  1. Once you are returned to the Create Task window, click OK to save the new task
  2. Enter the Windows user credentials and click OK

Setting Up Student Manager Task Authentication ​

Before a task can run unattended from Windows Task Scheduler, you must set up the Student Manager login credentials on the computer where the task will execute.

  1. Open Auto Tasks
  2. Click the More button.
  3. Select Set user for Auto Tasks on this computer
  4. Enter a valid Student Manager username and password
  5. Click OK

These credentials are stored encrypted on the local machine and are used to authenticate when the task runs without a logged-in user.

Important

This step must be completed on each computer that will run scheduled tasks. If the Student Manager password for the configured user changes, you must update the task credentials as well.

TIP

For a full walkthrough of creating a dedicated Windows user and Student Manager login just for running Auto Tasks, see Setting Up an Auto Tasks User in Windows and Student Manager.

Task Security (Allow List) ​

You can restrict a task to only run on specific computers or by specific users. This prevents a task from accidentally being triggered on the wrong machine.

  1. Open Auto Tasks
  2. Highlight the task then click Edit
  3. Select the Security tab
  4. Enter one or more entries in the Allow List field, using this format:
COMPUTERNAME # WindowsUsername

For example:

MAINSERVER # SMAdmin

To allow multiple computers, separate entries with commas:

SERVER1 # Admin, SERVER2 # Scheduler

If the Allow List is empty, the task can run from any computer with valid authentication configured.

Monitoring Task Results ​

You can view task execution information on the task window. To view the information:

  1. Open Auto Tasks
  2. Highlight the task then click Edit

Each task logs:

  • Last Run — date and time of the last execution
  • Last User — computer and user that last ran the task
  • Results — success message or error details from the last run

TIP

You can also check the Event Log to see if a task is currently running or has run — look for TASK_START, TASK_COMPLETED, and TASK_FAILED events.

Tips ​

  • Test first — Highlight the task on the Auto Tasks list and click More to test it before setting up the Windows schedule:
    • Run task — runs the task immediately in your current Student Manager session.
    • Run task in new process — runs the task in a separate process, the same way Task Scheduler will run it later (using the Auto Tasks user and no visible UI), so you can confirm it works correctly under those same conditions before automating it.
  • Use descriptive Task IDs — Keep them short but meaningful (e.g., NIGHTLY_BACKUP, WEEKLY_REPORT).
  • Check results regularly — Review the Last Run and Results fields periodically to ensure tasks are completing successfully.
  • Notify Email — Set up a notification email address so you are alerted if a task fails.
  • One task at a time — Avoid scheduling multiple tasks at the exact same time. Stagger them by a few minutes to prevent conflicts.
Can't find a topic? Email us and we'll help you find what you need.

Can't find a topic? Email us and we'll help you find what you need.