<?php
/**
 * Cron Job: ScoringAgent Batch
 * Schedule: every 3 days at 3am
 * Command:  0 3 1,4,7,10,13,16,19,22,25,28 * * php /var/www/sudanna/cron/score_potential_providers.php
 */
require_once dirname(__DIR__).'/config.php';
require_once dirname(__DIR__).'/engine/ScoringAgent.php';

$result = ScoringAgent::runBatch(200);
echo "[ScoringAgent] " . date('Y-m-d H:i:s') . " Scored:{$result['scored']} Ready:{$result['ready']} Errors:{$result['errors']}\n";
