The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Access the datastore inside a cron?
I've been playing with this but I haven't had any luck...
I set up a cron job to serialize data to the datastore. That works fine. I can see the information is in the database. However, now I'd like to access the information I already put in the datastore at the beginning of the cron job. I'm storing the information like this: Code:
$jab_thumbnail_servers[server1] = true; $jab_thumbnail_servers[server2] = false; build_datastore('jab_thumbnail_servers', serialize($jab_thumbnail_servers), TRUE); I've tried these, but no luck: Code:
//get special data templates from the datastore $specialtemplates = array( 'jab_thumbnail_servers', ); $datastore_fetch[]="'jab_thumbnail_servers'"; $jab_current_status[server1] = $vbulletin->jab_thumbnail_servers['server1']; Or am I trying to access the data wrong here? Thanks for your help, James |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|