Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: Joomla! 3.1.1 Stable [ Ember ] 26-April-2013 14:00 GMT
PHP version: 5.3.17
MySQL version: 5.5.31-percona-sure1-log
Host: ICDSoft
Admin Tools version: 2.5.5
Description of my issue:
I tried setting up a cron job to run admintools-filescanner.php. On this host, running a php file via cli requires a #!/path/to/php.cli at the top so I wrote a simple wrapper
#!/usr/local/bin/php.cli
<?php
include_once('admintools-filescanner.php');
?>
I am able to run Akeeba Backup Professional this way.
However, when I try to run the file scanner I get an error reported:
Fatal error: Class 'JCli' not found in /home/alonshvut/www/www/cli/admintools-filescanner.php on line 248
I am able to run the file scanner via the admin interface without a problem.
How can I fix this problem?