Webcal
Admin Tips
Author: Ruwan Jayasinghe <rjayasin**lausd.k12.ca.us> Contributor: Darrell May, Placido Sanchez, SarahJ Release supported: SME 5.6 License: GPL Last updated: October 10, 2003 |
RJ |
Problem:
You now have Webcal-on-SME/E-Smith working on your SME box. Need to keep it running, hell or high water.
Solution: Checkout the tips below |
TIP#1:
Changing the Name of a Calendar in WebCal/Mysql
##Log on as "root" on your SME Server root#>mysql
EX: The
Athletic Director's Calender(AthDirector) needs to be changed to "Sports"
##Then [root@hostname root]#mv /opt/Webcal/files/Old_Calendar_Name /opt/Webcal/files/New_Calendar_Name EX: The
Athletic Director's Calender(AthDirector) needs to be changed to "Sports"
|
TIP# 2:
Changing a calendar from public to private or vice versa
[root@hostname root]#cd /opt/Webcal/files/Calender_Name ##Change
from public calender to private calender
##Change
from private calender to public calender
|
TIP# 3:
A sample backup script for a Webcal installation
#!/bin/bash
TAR_FILE=/home/e-smith/files/ibays/webcalbackup/html/Webcal-`date
+%H%M%S`-`date -I`.tar
mysqldump --add-drop-table webcal
> $DATA_FILE;
|
TIP# 4:
A sample script to syncronize a Webcal installation
|
TIP# 5: |
Notes: |