Dear all,
At first, I hope I'm in the right place because this is the first time I write in Zimbra's forum.
I have written a php program to export as ICS with data store in a old system, and, to import it in a share zimbra calendar, I use :
This importation must be run each day, and, before launch it, I want to know if there's a way to clean up my calendar (removing ALL appointment) using an online command or any other command line command.PHP Code:exec("curl -u ".$zimbraRessourceLogin.":".$zimbraRessourcePassword." --upload-file ./".$salleInfos['calendarFileName'].".ics http://".$zimbraServeur."/home/".$zimbraRessource."/".$salleInfos['calendarName']."?fmt=ics", $out);
I don't want to delete and recreate the calendar because I think I'll lost all my share for the person using this calendar.
I've seen different intersting links
- How to clean the calendar using only REST?
- [SOLVED] Mass delete calendar entries
- Deleting appointments from command-line - Zimbra :: Wiki
but I'm not sure this is the correct way to do it. So before go further, I'd rather ask some specialists!!!
Many thanks for your help,
Frédéric (from France...what explain my strange english :-)


LinkBack URL
About LinkBacks


