crontab.cgi - WEB interface for maintain crontab files for individual users.
- WEB server with support CGI interface.
- Perl version 5.005 or later.
- SuExec.
Web browser with support JavaScript ( desirable ).
Quick installation:
cp -R lib tmpl crontab.cgi %CGI-BIN%/crontab
Installation:
Edit the crontab.cgi and change the following variables:
$Crontab - path for `crontab` program
$Action - crontab.cgi URL
$Tmpl_Files - template files
$Passwd - password for access to `crontab.cgi', taked from
`pswd' form-field. Do not used this, like use .htaccess file...
Copy the crontab.cgi into the %CGI-BIN%/crontab directory (
$Action variable ), and set permissions to 0700.
Copy the `lib' and `tmpl' directory's into the %CGI-BIN%/crontab directory.
WARNING!!! Create .htaccess file for control access to crontab.cgi and set
$Passwd to ''
For select the template file via web interface, you can use `type' option. E.g.:
http://...%CGI-BIN%/crontab/crontab.cgi?type=ie
http://...%CGI-BIN%/crontab/crontab.cgi?type=raw
http://...%CGI-BIN%/crontab/crontab.cgi ( `type' = 'def' )
etc...
And tune the %Tmpl_Files like that:
%Tmpl_Files = ( 'def' => 'default_template_file',
'ie' => 'alternative_file1',
'raw' => 'alternative_file2',
etc... );
Okunev Igor V. mailto:igor@prv.mts-nn.ru
http://www.mts-nn.ru/~gosha