csclean
The csclean utility only works in Schema 2 hosted domain mode. It removes user
and resource calendars for users whose status attribute (icsStatus)
has been marked as “deleted” by Delegated Administrator.
For Schema 1 and non-hosted domain mode, use csuser and cscal to remove all of the calendars for a deleted user.
Requirements
-
You must be using Schema 2 hosted domains.
-
Calendar Server can be running or stopped.
-
You must run csclean locally on the machine
where Calendar Server is installed.
-
You must be logged in as the user and group under which Calendar
Server is running (such as icsuser and icsgroup)
that was specified during installation, or as root.
Syntax
csclean [-q | -v]
[-g graceperiod]
clean domain
|
The following table describes the csclean utility
command options.
Table D–8 csclean
Utility Command Options
Option
|
Description
|
-q
|
Run in quiet mode:
-
Display no information if the operation is successful (errors,
if they occur, are displayed).
-
Suppress confirmation prompting for dangerous commands.
Default is off.
|
-v
|
Run in verbose mode: Display all available information about the command
being performed. Default is off.
|
-g graceperiod
|
Specifies the number of days to have elapsed since the calendar service
was deleted for a user.
The default is 10 days.
|
domain
|
Specifies the domain in which to remove calendars for all users and
resources.
An asterisk (*) removes all calendars for all users
and resources in all domains.
|
Examples
-
Remove calendars for all users and resources in sesta.com whose calendar service has been deleted for at least 5 days:
csclean -g 5 clean sesta.com
-
Remove calendars for all users and resources in all domains
whose calendar service has been deleted for at least 10 days:
csclean clean "*"