Share via


Job-dead-site-delete: Stsadm property (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2009-12-07

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\]** \<https://server\_name\>

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname job-dead-site-delete

**\[-url\]** \<https://server\_name\>

Note

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"