You should set up a daily backup of the scheduling database using cron.
You just need to change the variables in the configuration section of the file:
# ---------------------------------------------------------------------------- # CONFIGURATION # ---------------------------------------------------------------------------- # # Main Parameters # # year $sched_year = 2002; # list of months (January is 1, February is 2, ...) @sched_months = (1, 2, 3, 4, 5); # name of database file $sched_dbname = "s02"; # name of this CGI-bin script $cgi_script = "sched.cgi"; # # HTML configuration # # Warning: Unless you are using in-line files, # you MUST escape double quotes and @ symbols here. # Page title (browser window) $html_title = "COMP 241 and COMP 249 Lab Reservations"; # Page title (in page) $html_h1 = "COMP 241 and COMP 249 Lab Reservations (Spring 02)"; # Add here any extra information and links, # e.g., <A HREF=\"sched_245.cgi\">COMP 245 Schedule</A> $html_subtitle = ""; # Contact person $html_contact = "<HR>Lab Administrator: <A HREF=\"mailto:aikat\@cs.unc.edu\">Jay Aikat</a>";
Félix Hernández-Campos <fhernand@cs.unc.edu> Last modified: Fri Sep 13 9:19:37 EDT 2002 |