Share via


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

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

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] <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"