Create a cron job (Tools->Cron entries) that calls your PHP file.
In that PHP file have a static function:
PHP:
public static function myFunctionName()
{
$optionsRepo =\XF::Repository('XF:Option');
$optionsRepo->updateOption('spaminator_show_honeypots', 0);
}