Clearing past Calendar data

Is there some way to selectively clear data from the SunONE Calendar?
We have many users that have been using the Calendar for over 4 years, have kept all their data, and are now having difficulties with the CommExpress Calendar client and Firefox (browser is crashing. Works fine in IE. Hopefully resolved in CommExpress 6.3).

In the mean time we would like to selectively clear out some of the data in some of the Calendars. For example, is there a method to clear out all 2006 data for a specific Calendar?

This could go a long way to solving the current problems we are having with Calendar client.
Thanks, Bob

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

clearing calendar data

You can use the products/SUNWics5/cal/bin/cscomponents command to clear out events or tasks for a calendar in a certain date range.
Manage the Components in a Calendar

cscomponents [-q | -v] [-e endtime] [-s starttime] [-t event | task]
delete | list calid

Where the following options may be specified:

-e endtime Specify a end time, for example 19991231T080000Z
and 0 means from the end of time,
default is: 0
-q Specify quiet mode, no prompts or print statements
-s starttime Specify a start time, for example 19991231T080000Z
and 0 means from the beginning of time,
default is: 0
-t event | task Specify a component type,
default is: all types
-v Specify verbose mode, more information

And one of the following commands must be specified:

delete calid Delete components from calendar calid
list calid List components from calendar calid

Examples:

cscomponents -s 19980101T000000Z -e 19981231T000000Z delete calA
Delete all 1998 events and tasks in calendar calA
cscomponents -v list calA
List all events and tasks, with details, in calendar calA

Perfect

Thanks Jason,
Exactly what I was looking for. Now I can do some testing.
The Response Centre told me there was nothing I could do.

Syndicate content