Re: Global variable - No of hits counter

2007-01-22 Thread tom tom
Hi, My intention was to write a cleanup routine when the server encounters that many requests, but somehow I achieve it via a CRON job. which executes a perl script (CGI). Can I know how to pass parameters from the CRON job e.g cleanup folder and delta time in seconds and thereafter retreive

Re: Global variable - No of hits counter

2007-01-22 Thread Mumia W.
On 01/22/2007 04:17 PM, tom tom wrote: Can I know how to pass parameters from the CRON job e.g cleanup folder and delta time in seconds and thereafter retreive that from the perl. My cleanup rountine currently hardcoded with these values [...] Why not just make it a regular, non-CGI, Perl

Global variable - No of hits counter

2007-01-21 Thread tom tom
Hi, In my mod_perl (Authentication module). I have global variable defined as follows use vars qw( $SESSION_CLEANUP_COUNTER); $SESSION_CLEANUP_COUNTER=0; my intention is to count no of times it is getting executed by clients (no of hits). I am incrementing it within Authenticate method as

Re: Global variable - No of hits counter

2007-01-21 Thread Mumia W.
On 01/21/2007 04:55 PM, tom tom wrote: Hi, In my mod_perl (Authentication module). I have global variable defined as follows use vars qw( $SESSION_CLEANUP_COUNTER); $SESSION_CLEANUP_COUNTER=0; my intention is to count no of times it is getting executed by clients (no of hits). I am