Job-recycle-bin-cleanup: 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
Specifies the time schedule for a cleanup of the Recycle Bin to occur.
This property is equivalent to the Recycle Bin entry that is located on the Timer Job Definitions page of the SharePoint Central Administration Web site.
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 Recycle Bin cleanup for the Web application http://test, use the following syntax:
stsadm -o setproperty -pn job-recycle-bin-cleanup -pv "daily at 15:00:00" -url http://test
To view the current setting of the job-recycle-bin-cleanup property, use the following syntax:
stsadm -o getproperty -pn job-recycle-bin-cleanup