WP - crontab coding

Capital Gains

Registered Member
Joined
Nov 19, 2008
Messages
75
Reaction score
20
I finished installing wp-omatic on my host.

It gave me the following code to put in my cron tab:


when i open the cron.php file it the shows the following:
<?php


require_once(dirname(__FILE__) . '/../../../wp-config.php');

nocache_headers();

// if uninstalled, let's not do anything
if(! get_option('wpo_version'))
return false;

// check password
if(isset($_REQUEST['code']) && $_REQUEST['code'] == get_option('wpo_croncode'))
{
require_once( dirname(__FILE__) . '/wpomatic.php' );

$wpomatic->runCron();
} else
$wpomatic->log('Warning! cron.php was called with the wrong password or without one!');

where in this script do i put the code it gave me at installation?

Thanks
Capital Gains
 
Last edited:
Back
Top