Extracting Tasks and Events From Sun Java System Calendar Server
By joesciallo on Jan 05, 2007
There are a couple of ways to get task information for Sun Java System Calendar Server users, including:
# ./cscal -v list
calid# ./cscomponents list calid# ./cscomponents -t task list calid
However, these commands merely return the number of tasks for the calid (user) specified.
I'm currently working on documenting an in-house way we have of providing our Sun Java System Calendar Server users with a daily summary of their Sun Java System Calendar Server events and tasks, emailed to their inbox or mobile device each weekday morning. This tech tip will show you how to create a Bourne shell script, which uses Web Calendar Access Protocol (WCAP) commands. On a daily basis, this script finds all events and tasks from users' calendars then emails them to the individual users. A cron job executes the script according to your preferences. The email that users receive resembles the following:
Times shown in America/Los_Angeles ---Event--- Directory setup meeting Starts 10/23/2006 14:00 Reminder: Directory setup meeting SunIT Directory setup meeting 866 835 8198 9325445 ---Event--- Writer's Workshop Starts 10/23/2006 18:00 Writer's Workshop ---Task--- Car - book service Starts 10/23/2006 09:00
Look for this tech tip to be published very shortly.