Job-gradual-site-deletion: Stsadm property (Windows SharePoint Services)
Applies To: Windows SharePoint Services 3.0
Topic Last Modified: 2009-04-27
Lets a site collection be marked as deleted, which immediately prevents any further access to its content.
Added in the April Cumulative Update to perform gradual deletion of site collections. When an operation uses gradual deletion, a site collection is immediately marked as deleted, which prevents any further access to its content. The data in the deleted site collection is then deleted gradually over time by this timer job instead of all at once, which reduces its effect on Windows SharePoint Services 3.0 and SQL Server performance. Gradual deletion is available in the Deletesite: Stsadm operation (Windows SharePoint Services) and Mergecontentdbs: Stsadm operation (Windows SharePoint Services) operations.
stsadm -o setproperty
-propertyvalue <valid date and time interval>
The syntax for the getproperty operation is:
stsadm -o getproperty
You can substitute -pn for -propertyname and -pv for -propertyvalue.
The following table shows possible values.
Gets or sets the name of the property.
A valid Windows SharePoint Services Timer service (SPTimer) schedule in the form of any one of the following schedules:
Typically, a path to the URL of the Web application, in the form http://server_name.
To set the schedule of a site collection deletion for the Web application http://test, use the following syntax:
stsadm -o setproperty -pn job-gradual-site-deletion -pv "daily at 15:00:00" -url http://test
To view the current setting of the job-gradual-site-deletion property, use the following syntax:
stsadm -o getproperty -pn job-gradual-site-deletion