Thank you Mustafa! After waiting for scavenge to run and it never did, I realized why, and propose a fix.
First, in scavenge.php please change
$starttime = time();
And
$endtime = time();
To
$starttime = date('m/d/Y h:i:s a', time());
$endtime = date('m/d/Y h:i:s a', time());
So in email it is human readable time not a unix timestamp
Now, the reason for scavenge not running when I set it, say 0 hr 15 min is due to php54s date.timezone setting. in /usr/local/lxlabs/kloxo/init/php54s/php54s.ini it is set to 'Europe/London'. It makes my lxphp time not the same as my server. I need 'America/Detroit'. I set it in the above ini and script/restart, lxphp now set correctly. Scavenge ran exactly when I set time in kloxoMR panel!
You need to have somewhere to set kloxo php date.timezone so on update I don't have to keep changing /usr/local/lxlabs/kloxo/init/php54s/php54s.ini
Maybe a flag file? kloxophptimezone.flg with one line, the timezone setting, for me:
America/Detroit
Then in /script/cleanup set timezone for correct kloxo php.ini to that timezone.
Understand? I try to explain good for you.
Also, email was sent from Admin@xxx.xx.xx.xx (server ip).