Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Set-SPProjectTimerJobDefaultSchedule

Project Server 2013

Published: July 16, 2012

Applies to:  SharePoint Server 2013 Enterprise 

Updates the default schedule of the specified Project Server 2013 timer job type.

Set-SPProjectTimerJobDefaultSchedule [-ServiceApplication] <PsiServiceApplicationPipeBind> [-JobType] <ActiveDirectoryEnterpriseResourcePoolSyncJob | ActiveDirectoryGroupSyncJob | ApplyResourceCapacityTimeRangeJob | CubeSchedulingJob | EventHandlerConfigurationJob | ObjectLevelBackupRestoreJob | WorkflowCleanupJob | SendScheduledAlertsAndRemindersJob | ExchangeUrlRefreshJob | ExchangeSubscriptionRefreshJob | ExchangeOofSyncScheduledJob | SPPermissionModeSyncJob | SendSqmDataJob | QueueCleanupJob | ProjectCrawlerJob | DatabaseMaintenanceJob | ProjectModeOffPeakPermissionSyncJob | QueueHealthTimerJob> [-Schedule] <String> [-AssignmentCollection <SPAssignmentCollection>] [-RescheduleExistingJobs <SwitchParameter>]

Parameters

Parameter Required Type Description

ServiceApplication

Required

Microsoft.Office.Project.Server.Cmdlet.PsiServiceApplicationPipeBind

Specifies the Project Server 2013 service application to target.

The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid name of a Project Server 2013 service application (for example, ProjectServiceApp1); or an instance of a valid PsiServiceApplication object.

JobType

Required

Microsoft.Office.Project.Server.Administration.ServerScheduledJobType

Specifies on of the following job types:

ActiveDirectoryEnterpriseResourcePoolSyncJob

ActiveDirectoryGroupSyncJob

ApplyResourceCapacityTimeRangeJob

CubeSchedulingJob

EventHandlerConfigurationJob

ObjectLevelBackupRestoreJob

WorkflowCleanupJob

SendScheduledAlertsAndRemindersJob

ExchangeUrlRefreshJob

ExchangeSubscriptionRefreshJob

ExchangeOofSyncScheduledJob

SPPermissionModeSyncJob

SendSqmDataJob

QueueCleanupJob

ProjectCrawlerJob

DatabaseMaintenanceJob

ProjectModeOffPeakPermissionSyncJob

QueueHealthTimerJob

Schedule

Required

System.String

Specifies the schedule for running the timer job. The type must be a valid SharePoint Timer service (SPTimer) schedule in the form of any one of the following schedules:

Every 5 minutes between 0 and 59

Hourly between 0 and 59

Daily at 15:00:00

Weekly between Fri 22:00:00 and Sun 06:00:00

Monthly at 15 15:00:00

Yearly at Jan 1 15:00:00

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

note Note:

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

RescheduleExistingJobs

Optional

System.Management.Automation.SwitchParameter

By default Set-SPProjectTimerJobDefaultSchedule only applies to new timer jobs. Use -RescheduleExistingJobs to apply the new schedule to existing timer jobs.

Detailed Description

Updates the default schedule of the specified Project Server 2013 timer job type.

Input Types

Return Types

--------------------EXAMPLE------------------------

Set-SPProjectTimerJobDefaultSchedule -ServiceApplication "ProjectServiceApp1" -JobType "ActiveDirectoryGroupSyncJob" -Schedule "Daily at 23:59:00" -RescheduleExistingJobs

This example sets the Active Directory group synchronization job to run daily at 23:59:00.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.