$hour += 12;
}
}
+ elsif ($timetext =~ /^ *today +at +([0-9]{1,2}):([0-9]{2})([ap]m) */) {
+ $hour=int($1);
+ $minute=int($2);
+ $ampm=$3;
+ if($ampm eq 'pm') {
+ $hour += 12;
+ }
+ }
else {
# print "FAIL 1 -".urlencode($timetext)."-\n";
return $timetext;
$def{'CGI_ALIAS'} = 'ScriptAlias '.$set{'interface_path'}.'/view '.$set{'bin_path'}.'interface';
$def{'PATH_ALIAS'} = 'Alias '.$set{'interface_path'}.' '.$wwwpath;
-$def{'BOT_CRONTAB'} = $set{'bot_crontab'}.' '.$set{'bin_path'}.'bot'.(($set{'bot_args'} ne '')?(' '.$set{'bot_args'}):'').' >'.$set{'log_path'}.'bot.log';
+$def{'BOT_CRONTAB'} = $set{'bot_crontab'}.' '.$set{'bin_path'}.'bot'.(($set{'bot_args'} ne '')?(' '.$set{'bot_args'}):'').' >> '.$set{'log_path'}.'bot.log';
$def{'RM_ACCESS_CRONTAB'} = $set{'rm_access_crontab'}.' '.$set{'bin_path'}.'rmaccess';
$def{'OLDLOGS_CRONTAB'} = $set{'oldlogs_crontab'}.' '.$set{'proxy_bin_path'}.'oldlogs '.$set{'log_path'}.' '.$set{'log_size_limit'}.' '.$set{'logs_total'}.' '.$set{'logs_uncompressed'};