When you use a supported edition of SQL Server 2008 Standard or Enterprise,
In addition, Windows Task Scheduler includes preconfigured jobs for the Application Modules database.
If your product installation uses a supported edition of
If your product uses a SQL Server Standard or Enterprise edition, the following scheduled jobs are available through
| Database | Scheduled Job | Enabled by Default | Default Time | Configurable |
|---|---|---|---|---|
| ION database (ION_Data) | Archive | No | 12:00 AM, 1st Saturday of every third month or of every quarter (depending on the version of SQL Server that the product uses) | Yes |
| Backup | Yes | Weekly at 12:00 AM every Friday | Yes | |
| Maintenance | Yes | Daily at 2:00 AM | No | |
| Network Configuration database (ION_Network) | Backup | Yes | Daily at 1:00 AM | Yes |
| Maintenance | Yes | Daily at 7:30 AM | No | |
| System Events database (ION_SystemLog) | Trim | Yes | Daily at 1:30 AM | Yes |
| Maintenance | Yes | Daily at 7:05 AM | No |
To view schedule information in
For all databases, right-click Scheduled Jobs and select Schedule Information, or
For a specific database, right-click the database and select Schedule Information.
The Scheduled Jobs dialog opens. This dialog lists the following information for scheduled jobs: database name, job type, whether or not the job is enabled, the last run date and the next run date.
To view the scheduled jobs for the Application Modules database in Task Scheduler, see
You can edit a scheduled job in
Double-click a scheduled job listed under Scheduled Jobs in
Right-click a database listed under Scheduled Jobs and select the job you want to edit.
Right-click Scheduled Jobs and select the job you want to edit.
The scheduled job’s dialog opens. See
Note
You cannot configure scheduled Maintenance jobs.
To edit the scheduled jobs for the Application Modules database in Task Scheduler, see
To view the history of a scheduled job in
The run date, status (successful or unsuccessful), and duration are available for all scheduled jobs.
Select a job from the list to view further information under Errors or messages from selected task step field.
Select Hide successful tasks to filter out completed jobs from the list.
Click Clear All to clear the job history for the selected scheduled job.
To view the job history of the Application Modules database in Task Scheduler, click a job in the list and then click the History tab.
Right-click Scheduled Jobs or
Note
When the product is first installed, Scheduled Archive is disabled by default. You must open the Scheduled archive dialog and select Schedule Enabled to enable it.
| A | You must select this check box to enable the scheduled archive. |
A scheduled archive is preconfigured to archive all data types and to trim each of the data types after the archive is complete. Clear the Trim after archive check box for a data type if you only want to perform an archive without subsequently deleting that data.
notice
loss of data
Backup or archive data before trimming a database.
Failure to follow these instructions can result in permanent loss of data.
This setting determines the number of complete months of live data that you want to keep in the
Select one of the following options: Monthly, Bi-monthly (every 2 months), Quarterly (every 3 months), Semiannually (every 6 months), Annually, Every 2 years, Every 3 years, Every 4 years, and Every 5 years.
Note
The
You can select any day of the week for your scheduled archive (the default is Saturday). The archive is performed at the specified time on the first occurrence of that day in the month. For example, if you configure the scheduled archive to occur monthly on Sunday at 5:30:00 AM, then
The schedule for the maintenance jobs is pre-configured and cannot be changed. To view the history for a maintenance job, right-click the database, select Job History > Maintenance. See
There are a number of actions that are performed on the database when a maintenance job is executed. The following is an ordered breakdown of a scheduled maintenance:
Check database fragmentation and defragment if the fragmentation level is more than 10%.
Update statistics for all the tables in the database.
Send an email alert if any maintenance step is unsuccessful.
The maintenance schedule for each database is as follows:
(Note that the disk usage monitor starts at 7:00 AM and takes only a few seconds to complete.)
Right-click Scheduled Jobs or
Select Schedule enabled if you want to enable the scheduled trim.
The System Events database has the scheduled trim job configured and enabled by default.
Click Change in the Schedule section. The Edit Schedule dialog opens where you can reconfigure the frequency and time of the scheduled trim.
The Edit Schedule dialog differs depending on what you select in the Occurs section.
Daily: Set the frequency in days. For example, to set the trim to occur every seven days, set the frequency to 7.
Weekly: Set the frequency in weeks and select the days of the week on which you want the trim to occur. You can select multiple days of the week. For example, to set the trim to occur every two weeks on Monday and Thursday, set the frequency to 2 and select Monday and Thursday from the list of days.
Monthly: Set the frequency then select Fixed Day or Relative Day to set the day of the month on which the trim occurs.
Frequency: Click Select Months to select the months in which you want the trim to occur or set the Frequency in number of months.
Fixed Day: The trim occurs on the specified date at the frequency specified (in months). For example, to set the trim to occur on the 15th day of every month, select every month (or set Frequency to 1) then set Fixed Day to 15.
Relative Day: The trim occurs on the specified day of the month at the specified frequency (in months). For example, to set the trim to occur on the second Sunday of every third month, set Frequency to 3 (or select which months you want to trim to occur in) and select 2nd and Sunday from the Relative day dropdown lists.
Right-click Scheduled Jobs,
Both the
From the Database to backup list, select the database for which you want to configure the scheduled backup.
In the Save backup to field, enter the location where you want to save the backups.
In Number of backups to keep, specify the number of backups — 1 to 4 — that
Select Schedule enabled if you want to enable the scheduled backup.
Click the Change button in the Schedule section. The Edit Schedule dialog appears where you can reconfigure the frequency and time of the scheduled backup.
Note
Do not specify the same start time for scheduled backups of the
The Edit Schedule dialog differs depending on what you select in the Occurs section.
Daily: Set the frequency in days. For example, to set the backup to occur every seven days, set the frequency to 7.
Weekly: Set the frequency in weeks and select the days of the week on which you want the backup to occur. You can select multiple days of the week. For example, to set the backup to occur every two weeks on Monday and Thursday, set the frequency to 2 and select Monday and Thursday from the list of days.
Monthly: Set the frequency then select Fixed Day or Relative Day to set the day of the month on which the trim occurs.
Frequency: Depending on your version of SQL Server, click Select Months to select the months in which you want the backup to occur or set the Frequency in number of months.
Fixed Day: The backup occurs on the specified date at the frequency specified (in months). For example, to set the backup to occur on the 15th day of every month, select every month (or set Frequency to 1) and Fixed Day to 15.
Relative Day: The backup occurs on the specified day of the month at the specified frequency (in months). For example, to set the backup to occur on the second Sunday of every third month, set Frequency to 3 (or select which months you want to the backup to occur in) and select 2nd and Sunday from the Relative day dropdown lists.