1 #!/usr/local/perl-5.10-uld/bin/perl
3 #$ENV{USER}="andk"; # fill in your name
4 #$ENV{RSYNC_PASSWORD} = shift or die; # fill in your passwd
6 use File
::Rsync
::Mirror
::Recent
;
8 File
::Rsync
::Mirror
::Recent
->new
10 ignore_link_stat_errors
=> 1,
11 localroot
=> "/home/ftp/pub/PAUSE/$_",
12 remote
=> "pause.perl.org::PAUSE/$_/RECENT.recent",
13 max_files_per_connection
=> 200,
25 # verboselog => "/var/log/rmirror-pause.log",
26 runstatusfile
=> "/var/log/rmirror-status-$_.state",
27 )} "authors", "modules";
28 die "directory $_ doesn't exist, giving up" for grep { ! -d
$_->localroot } @rrr;
32 $rrr->rmirror ( "skip-deletes" => 1 );
34 my $sleep = $ttgo - time;
36 # print STDERR "sleeping $sleep ... ";