Export (0) Print
Expand All

Job-dead-site-delete: Stsadm property (Office SharePoint Server)

Office 2007

Updated: December 10, 2009

Applies To: Office SharePoint Server 2007

Updated: 2009-12-10

Description

Specifies the frequency interval and time range to delete unused Web sites automatically, for example, "Weekly at Sat 0:00:00".

This property is equivalent to the Check for unused site collections, and send notices user interface setting that is located on the Site Use Confirmation and Deletion page of the SharePoint Central Administration Web site.

Syntax

stsadm -o setproperty

   -propertyname job-dead-site-delete

   -propertyvalue { Daily | Weekly | Monthly }

   [-url] <http://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname job-dead-site-delete

   [-url] <http://server_name>

NoteNote:

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

Valid frequency ranges:

  • Daily

  • Weekly

  • Monthly

The time interval adheres to the 24-hour time format.

The default value is "Daily at 0:00:00".

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set a frequency of Weekly and time interval to 2:00 A.M., use the following syntax:

stsadm -o setproperty -pn job-dead-site-delete -pv "Weekly at Sat 0:00:00"

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft