File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
server/lib/classes/cron.d Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ public function onRunJob() {
6060 $ web_config = $ app ->getconf ->get_server_config ($ conf ['server_id ' ], 'web ' );
6161
6262 foreach ($ records as $ rec ) {
63- //$yesterday = date('Ymd',time() - 86400);
6463 $ yesterday = date ('Ymd ' , strtotime ("-1 day " , time ()));
6564
6665 $ log_folder = 'log ' ;
@@ -135,9 +134,6 @@ public function onRunJob() {
135134 }
136135 }
137136
138- // awstats_buildstaticpages.pl -update -config=mydomain.com -lang=en -dir=/var/www/domain.com/'.$web_folder.'/stats -awstatsprog=/path/to/awstats.pl
139- // $command = "$awstats_buildstaticpages_pl -update -config='$domain' -lang=".$conf['language']." -dir='$statsdir' -awstatsprog='$awstats_pl'";
140-
141137 $ command = escapeshellcmd ($ awstats_buildstaticpages_pl ) . ' -month= ' . escapeshellarg ($ awmonth ) . ' -year= ' . escapeshellarg ($ awyear ) . ' -update -config= ' . escapeshellarg ($ domain ) . ' -lang= ' . escapeshellarg ($ conf ['language ' ]) . ' -dir= ' . escapeshellarg ($ statsdir ) . ' -awstatsprog= ' . escapeshellarg ($ awstats_pl );
142138
143139 if (date ("d " ) == 2 ) {
You can’t perform that action at this time.
0 commit comments