|
Posted by bdy120602 on June 13, 2008, 2:35 pm
Please log in for more thread options > On Tue, 10 Jun 2008 10:00:37 -0700, bdy120602 wrote:
> >> OK, I'm all set with my original query: I ran all my requests to
> > download files from a URL separately with "call" as a prefix and
> > putting it in a batch file; however, I would like to create a log file
> > so I can view any errors that might have occured ( I plan to run this
> > nightly). Is it possible to have this report e-mailed to me? If so,
> > how?
>
> Try Email::Send. =A0However, in the situation you describe, I usually run
> the job under cron in my account and anything it outputs will be emailed
> to me anyway, thus making things much easier, if I can do it that way.
>
> > Also, would you point me in the direction of a resource to use
> > lwp-mirror. I'm just a little less than a novice.
>
> http://search.cpan.org/perldoc?lwp-mirrorhttp://search.cpan.org/~gaas/libw=
ww-perl-5.812/lwpcook.pod#MIRRORING
>
> --
> Peter Scotthttp://www.perlmedic.com/http://www.perldebugged.com/
Cool. I used the info. you gave me to figure out but I did it without
the cron. One more question. Does Perl have a module that you know of
that can scan an address for new pages, that is, not pages that have
new content, but pages that are new. For example, a Web page currently
has ten pages. http://www.page.com/one.jsp, http://www.page.com/two.jsp,
http://page.com/three.jsp, etc., until ten. Is there a way for Perl,
using a module or otherwise, to scan the URL for an eleventh page?
Also, let's assume that I do not know the file name. For example,
eventhough I would be expecting eleven.jsp, it's possible that it will
be named in this path: http://www.page.com/numbers/index/format.jsp
Thanks again.
|