With this cron, it runs without error but nothing get moved. I do have it set for 2 different forums to move into one. Here's a peek:
Code:
error_reporting(E_ALL & ~E_NOTICE);
if ($DB_site == NULL)
{
exit;
}
global $DB_site;
// you only need to edit the number of days only
$movedate = strtotime("now -365 days");
//##############################################
// edit the forum id number where the threads have to be moved FROM
$fromforuma="10";
// edit the forum id number where the threads have to be moved TO
$toforuma="60";
// do not edit below
$DB_site->query("
UPDATE " . TABLE_PREFIX . "thread
SET forumid = $toforuma
Where lastpost <= $movedate
AND forumid = $fromforuma
");
// do not edit above
//##############################################
// edit the forum id number where the threads have to be moved FROM
$fromforumb="17";
// edit the forum id number where the threads have to be moved TO
$toforumb="60";
$DB_site->query("
UPDATE " . TABLE_PREFIX . "thread
SET forumid = $fromforumb
Where lastpost <= $movedate
AND forumid = $toforumb
");
// do not edit above
Any ideas?