0

ウェブサイトの毎日の統計情報を自動的に更新したいと考えています。次のようなバッチ スクリプトを作成しました。

rem c:Perl64binperl.exe….toolsawstats_buildstaticpages.pl -config=mobilekat -lang=IT -databasebreak=day

c:Perl64binperl.exe "awstats.pl" -config=MobileKat -update -databasebreak=day
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output > awstatsawstats.MobileKat.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=alldomains >  awstatsawstats.MobileKat.alldomains.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=allhosts >  awstatsawstats.MobileKat.allhosts.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=lasthosts > awstatsawstats.MobileKat.lasthosts.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=unknownip > awstatsawstats.MobileKat.unknownip.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=allrobots > awstatsawstats.MobileKat.allrobots.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=lastrobots > awstatsawstats.MobileKat.lastrobots.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=session > awstatsawstats.MobileKat.session.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=urldetail > awstatsawstats.MobileKat.urldetail.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=urlentry > awstatsawstats.MobileKat.urlentry.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=urlexit > awstatsawstats.MobileKat.urlexit.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=osdetail > awstatsawstats.MobileKat.osdetail.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=unknownos >  awstatsawstats.MobileKat.unknownos.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=browserdetail >  awstatsawstats.MobileKat.browserdetail.html 
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=unknownbrowser >  awstatsawstats.MobileKat.unknownbrowser.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=downloads >  awstatsawstats.MobileKat.downloads.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=refererse >  awstatsawstats.MobileKat.refererse.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=refererpages > awstatsawstats.MobileKat.refererpages.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=keyphrases > awstatsawstats.MobileKat.keyphrases.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=keywords > awstatsawstats.MobileKat.keywords.html
c:Perl64binperl.exe "awstats.pl" -config=MobileKat -staticlinks -lang=IT -output=errors404 > awstatsawstats.MobileKat.errors404.html

しかし、ページを開くawstats.MobileKat.htmlNever updated (See 'Build/Update on awstats_setup.html page)、すべてが 0 と表示されます (0 人の訪問者など…)。を削除し-databasebreak=dayて同じページを開くと、すべてが完全に機能しているように見えます。これが引き続き機能しない場合は、これなしでバッチ ファイルを毎日実行するタスク スケジューラを実行すると思います-databasebreak=day

4

1 に答える 1