cron using datamanager issues
Hi all!
I'm new to Vbulletin, but have programming experience. I'm trying to create a cron to automatically open and close forums.
I have the script fully setup, but it fails on the cron (works when I open the script in a browser).
I've hunted and line in init.php 414 ---->
$vbulletin->session =& new vB_Session($vbulletin, $sessionhash, $vbulletin->GPC[COOKIE_PREFIX . 'userid'], $vbulletin->GPC[COOKIE_PREFIX . 'password'] , $styleid, $languageid);
is the show stopper. Its creating a session, which obviously isn't happening when the script runs from the command line.
Does anyone have any suggestions here?
Thanks in advance
Lyndon
|