Scheduled jobs in Windows Task Scheduler

schedules the following preconfigured jobs using Windows Task Scheduler.

When you use a supported edition of SQL Server 2008 Standard or Enterprise, scheduled jobs for the Application Modules database are only available through Windows Task Scheduler and not .

In addition, when your product installation uses a supported edition of , scheduled database backup, maintenance, size notification, and trim jobs are available only through Windows Task Scheduler. These jobs are configured to run automatically even if you are not logged on to your server.

Database Scheduled Job Enable by Default Default Time Configurable
Application Modules database
(Application_Modules)
Backup Yes Daily at 1:30 AM Yes
Maintenance Yes Daily at 3:30 AM Yes
Trim Yes Daily at 2:30 AM Yes
ION database (ION_Data) Archive No Annually at 1:00 AM on January 3rd Yes
Backup Yes Weekly at 12:00 AM every Friday Yes
Maintenance Yes Daily at 2:00 AM Yes
Size Notification (for SQL Express installations) Yes Daily at 3:00 AM Yes
Network Configuration database (ION_Network) Backup Yes Daily at 1:00 AM Yes
Maintenance Yes Daily at 7:30 AM Yes
System Events database (ION_SystemLog) Maintenance Yes Daily at 7:05 AM Yes
Trim Yes Daily at 4:00 AM Yes
Database Scheduled Job Enable by Default Default Time Configurable
Application Modules database
(Application_Modules)1
Backup Yes Daily at 1:30 AM Yes
Maintenance Yes Daily at 2:30 AM Yes
Trim Yes Daily at 2:30 AM Yes
ION database (ION_Data) Backup Yes Weekly at 12:00 AM every Friday Yes
Maintenance Yes Daily at 2:00 AM Yes
Size Notification Yes Daily at 3:00 AM Yes
Network Configuration database (ION_Network) Backup Yes Daily at 1:00 AM Yes
Maintenance Yes Daily at 7:30 AM Yes
System Events database (ION_SystemLog) Maintenance Yes Daily at 7:05 AM Yes
Trim Yes Daily at 4:00 AM Yes
1The Application Modules database is available in Task Scheduler when you use a supported edition of SQL Server 2008 Standard, Enterprise, or .
Changing the IONMaintenance password

Before you perform any editing on the database scheduled jobs, you need to reset the password for the IONMaintenance account that is used to access the job properties.

Log on to your server as a user with Administrator privileges.

Click Start, then right-click Computer and click Manage to open the Computer Management dialog.

Expand Local Users and Groups under Configuration and click Users to display the list of users.

Right-click IONMaintenance, select Set Password, and click Proceed on the confirmation window to open the Set Password for IONMaintenance dialog.

Enter your new password in the New password and Confirm password fields, and click OK to reset the password.

A confirmation window indicates that the password has been set.

Click OK on the confirmation window and close the Computer Management dialog.

Opening Task Scheduler to view scheduled jobs

To open Task Scheduler:

In Windows 2012, open the Start screen, click Administrative Tools and then click Task Scheduler. (To open the Start screen, click the upper- or lower-right corner in the display area to open the bar containing the Start icon, and click the icon.)

In Windows 2012 R2, open the Start screen, click the down arrow to open the Apps screen, and click Task Scheduler under Administrative Tools. (To open the Start screen, click the upper- or lower-right corner in the display area to open the bar containing the Start icon, and click the icon.)

In Windows 2008, click Start > Administrative Tools > Task Scheduler.

In Windows 7, click Start > All Programs > Accessories > System Tools > Task Scheduler.

Click Task Scheduler Library in the left pane of the Task Scheduler dialog to view the scheduled jobs for the Application_Modules, ION_Data, ION_Network, and ION_SystemLog databases.

The schedule for each database job is shown under Triggers for each database name. You can see the properties for each database job by clicking the tabs in the bottom portion of the dialog.

Note

In an installation using a supported edition of SQL Server Express, you can enable the history of all database jobs by clicking Enable All Tasks History in the Actions pane on the right of the Task Scheduler dialog.

Editing scheduled jobs in Task Scheduler

To edit a scheduled job:

Right-click a database job and select Properties to open the Job Properties dialog.

Click the Triggers tab to display the current schedule.

Click the schedule entry then click Edit to open the Edit Triggers dialog.

Make your changes to the options for the job schedule and click OK to close the Edit Triggers dialog.

Click OK to close the Job Properties dialog.

A password window for the IONMaintenance account opens.

Enter the password that you created for IONMaintenance and click OK to apply the schedule changes for the job.

The Job Properties window closes.

Close Task Scheduler.

Changing the default location for the backup files

By default, database backups are saved to the cfg\DBBackups location (under ...\Program Files\\\config\). This default location is specified in the Configuration.ps1 file as:

$locationForBackupFiles - "cfg\DBBackups\"

To change the default location for the backup files:

Use Windows Explorer to create a new folder for your backup files.

The folder name and location are used in the following steps.

Navigate to the following location under the program's root directory:

...\config\cfg\DbScheduledTasks\Support

Edit Configuration.ps1 with a text editor and change the path information within the double quotes to specify either a fully-qualified path or a relative path for folder to be used for the backup files.

For example:

If you created a folder named backupdirectory under the config folder in the default product install location, change the last line in the file to $locationForBackupFiles - "backupdirectory" to indicate the relative path under the config folder for the backup location.

You need to use a fully-qualified path if you want to use a secondary disk drive or an external drive for the backup files.

Save your changes and close the text editor.

Setting permissions for the backup folder

Complete the following to give the IONMaintenance account read and write permissions to the new backup folder:

In Windows Explorer, navigate to the new backup folder you created,

Right-click the folder and select Properties

Click the Security tab and then click Edit to open the permissions dialog for the folder.

Click Add to open the Select Users or Groups dialog.

Enter IONMaintenance as the object name in the field.

The From this location field should contain the name of your server. If not, click Locations and select the server name.

Click Check Names to validate the object name, and then click OK to add IONMaintenance to the list of user names in the permissions dialog.

Click IONMaintenance under Group or user names, select Read and Write under Allow in the permissions area, and then click OK to apply the settings and to close the permissions dialog.

Click OK to close the Properties dialog.