in reply to Re: Re: cron/perl interaction gotchas i am missing?
in thread cron/perl interaction gotchas i am missing?

How are you sure that wget as finished and the wget process has terminated? I recommend using the logging options of wget plus adding some logging/syslog output to your Perl script as well - print statements should also be enough, as cronmails those to you.

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

Replies are listed 'Best First'.
Re: Re: Re: Re: cron/perl interaction gotchas i am missing?
by schweini (Friar) on Jan 30, 2004 at 13:31 UTC
    How are you sure that wget as finished and the wget process has terminated?
    because the first file (from store 1) is exactly where it's supposed to be.
    i do use basic logging in my script (see above), but after the first wget, i don't get anything....
    (and running the script manually works splendid, so i think i didn't mess up URLs and such)