I also had same problem.Include this file into your Cron file:
/src/frapi/library/Frapi/AllFiles.php from Frapi API.
It has All necessary file like Libraries,database,adaptor files,etc.
Also If you getwarning like "PHP Notice: Undefined index HTTP_HOST" in internal.php file then replace
$_SERVER with getenv
You will get rid out of this.