runScheduledTasks.php fails in OJS 3.0.1 (Call to undefined method ScheduledTaskTool::ScheduledTaskTool())

Hi @bozana,

I haven`t seen any new records in metrics table for “problematic” article. Checked plugin logs, here several from localhost:

127.0.0.1 administrative 1 "2016-12-08 00:27:05" http://e-medjournal.com/index.php/psp/article/view/1 200 "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"

127.0.0.1 - - "2016-12-08 20:04:37" http://e-medjournal.com/index.php/psp/article/download/11/10/54 200 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36"

Here line, that is associated with new article (without ip for privacy reasons):

xxxxxxxxxx - - "2016-12-04 22:01:51" http://e-medjournal.com/index.php/psp/article/download/13/14/53 200 "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"

and another one from other page:

xxxxxxxxx - - "2016-12-04 23:10:10" http://e-medjournal.com/index.php/psp/index 200 "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"

There is no logs that contain https://e-medjournal.com/index.php/psp/article/view/13 or every other number at the end, except 1. As it can be seen, it counts not exactly views but downloads of html or xml. There minimum 3 records in logs associated with downloads of xml or html of problematic article. As I can see they are not recorded in database.

From where those logs are come from? from apache logs? If yes, maybe there is a reason for looking in apache logs, associated with this article?

It should to be also noted that I use ubuntu cron for processing those logs. The command runs every 2 hours. https://pkp.sfu.ca/ojs/docs/userguide/2.3.3/systemAdministartionScheduledTasks.html. The reason why I use cron is that I had problems with acron plugin. You can see this info here: OJS3: issues with usage statistics plugin with php7.0 - #10 by Vitaliy. I had similar problems month ago geo ip plugin wasn`t working because of conflict with php-geoip module (I simply deleted it in that case and all started to work) and stats data wasn’t recording because of problems with acron plugin.

As for geo ip plugin - it started to work perfectly after copying dat file into plugin/generic/usageStats directory. I simply downloaded it in the wrong place after clean upgrade.