Schedulable Tasks
Schedulable 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 Schedulable Tasks
Open the Schedulable 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:
| Action | Description |
|---|---|
| Email Report | Runs a report and emails it to specified recipients |
| Run Special Procedure | Executes a custom procedure file (.FXP) |
| System Lockout On | Puts the system into lockout mode; users will be disconnected within 2 minutes |
| System Lockout Off | Lifts system lockout and allows users back in |
| Reindex | Packs and reindexes the database |
| Backup | Makes a backup of data and settings |
| Saved Import | Executes a previously saved import configuration |
| Saved Export | Executes a previously saved export configuration |
Creating a Task
- Navigate to
- Click Add
- Enter a Task ID — a unique identifier (up to 20 characters, no spaces)
- Enter a Description for the task
- Select the Action type from the dropdown
- Configure any Task Parameters specific to the selected action (e.g., report selection for Email Report, or procedure path for Run Special Procedure)
- Enter a Notify Email address if you want to receive notifications when the task completes
- Check Active to enable the task
- Click OK to save
Setting Up 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.
- Open
- Right-click and select Set user for Schedulable Tasks on this computer
- Enter a valid Student Manager username and password
- 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.
Running a Task from Windows Task Scheduler
Once your task is created and authentication is configured, set up Windows Task Scheduler to trigger it automatically.
Command Format
sm9.exe TASK:YOURTASKIDFor example, if your Task ID is DAILYREPORT:
sm9.exe TASK:DAILYREPORTWindows Task Scheduler Setup
- Open Windows Task Scheduler ()
- Click Create Task (not "Create Basic Task" — this gives you more options)
- 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
- On the Triggers tab:
- Click New to add a schedule (daily, weekly, monthly, etc.)
- On the Actions tab:
- Click New
- Program/script: Browse to your
sm9.exefile (e.g.,C:\SM9\sm9.exe) - Add arguments:
TASK:YOURTASKID - Start in: The folder containing sm9.exe (e.g.,
C:\SM9)
- Click OK and enter the Windows user credentials when prompted
Paths with Spaces
If your Student Manager installation path contains spaces, Windows Task Scheduler handles the quoting automatically. No additional formatting is needed.
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.
On the task's Security tab, enter one or more entries in the Allow List field using this format:
COMPUTERNAME # WindowsUsernameFor example:
MAINSERVER # SMAdminTo allow multiple computers, separate entries with commas:
SERVER1 # Admin, SERVER2 # SchedulerIf the Allow List is empty, the task can run from any computer with valid authentication configured.
Monitoring Task Results
Each task tracks the following information from its last execution:
- 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
You can view this information by opening the task from the Schedulable Tasks list.
Tips
- Test first — Run the task manually from the Schedulable Tasks list before setting up the Windows schedule. This confirms the task works correctly 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.