Matt,

Thank you for the idea! Closer than I've been. I'm running a modified
wwwboard script. I'd like to automate the derned thing so I'm not
manually archiving late every night. My thought is after so many posts a
date link i.e. 2001Apr22.html is created within my present archive.html
page, then written to up until midnight of that date. Then the process
would just repeat itself each day. Not knowing much about Cron, that
first entered my mind. FTP module........no, but I shall. Thanks again.

Dennis

Matt Cauthorn wrote:

> Hmmm. Still not 100% clear on exactly what you want to
> accomplish, but it sounds like a simple shell or Perl
> script setup as a cron may do the trick. In Perl,
> maybe something like:
>
> my $count=`ls | wc -l`; # this captures the amount of
> lines in your posting directory.
>
> Then setup an if statement:
>
> if ($count >= $some_number){
>          system("ln -s blah blah")
>          }
>
> Chances are good that I've missed your objective, but
> maybe this will help in some way. Have you looked at
> the Net::FTP module? Very nice. It can also do SSH. By
> the way, this list rocks. Whoever came up with the
> idea deserves applause.
>
> ~Matt C.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

Reply via email to