Can anyone help me create a CRON day for this HACK? I'm trying with the following syntax:
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($vbulletin->db)) exit;
@ignore_user_abort(1);
@set_magic_quotes_runtime(0);
require_once(DIR.'/includes/adminfunctions.php');
require_once(DIR.'/admincp/ybackup_dumper.php');
$command = 'exec'; // exec, system or passthru
$ybackup_dumper = &new ybackup_dumper($command, $vbulletin->ybackup_dumper, $vbulletin->options);
$ybackup_dumper->cronBackup();
echo '<br />'.$ybackup_dumper->STATUS;
log_cron_action($ybackup_dumper->STATUS, $nextitem);
?>