[Orca-users] Re: How to configure orcallator.cfg???

nurik_m nurik_m at yahoo.com
Fri Apr 5 21:15:14 PST 2002


> Which version of Orca and perl do you have installed?
Perl - 5.005
Orca - 0.26

> You need to make sure your find_files parameter in orcallator.cfg
can find the input files you have.
====================================
orcallator.cfg
------------------------------------
group orcallator {
find_files            /opt/orca/var/orca/orcallator/(?:
(?:orcallator)|(?:percol))-\d{4}-\d{2}-\d{2}(?:\.(?:Z|gz|bz2))?
column_description      first_line
date_source            column_name timestamp
date_format            %s
interval            300
reopen                  1
filename_compare      sub {
                    my ($ay, $am, $ad) = $a =~ /-(\d{4})-(\d\d)-
(\d\d)/;
                    my ($by, $bm, $bd) = $b =~ /-(\d{4})-(\d\d)-
(\d\d)/;
                    if (my $c = (( $ay       <=>  $by) ||
                                 ( $am       <=>  $bm) ||
                                 (($ad >> 3) <=> ($bd >> 3)))) {
                      return 2*$c;
                    }
                    $ad <=> $bd;
                  }
}
====================================

directories are exist, but they are empty...



More information about the Orca-users mailing list