[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] cron error on splitlogs help needed



When my cron-quarter-daily runs the splitlogs.pl program, the following
error is spit out(and mailed to admin):  "Invalid log type:. Most be web,
ftp or mail"  If I run the file myself, I get the same error.  Here is hte
code that is actually producing the error:

my $log_type = $ARGV[0];
$log_type =~ /(web|ftp|mail)/ ||
        die "Invalid log type: $log_type. Most be web, ftp or mail.\n";

I can't figure out from the cron log which log file it's choking on, but my
stats are now cumulative, not just for one day at a time.  So, I'm assuming
it's a web log file.  Any ideas on how to kill this?  Thanks!  This is a
Raq3

Jon