![]() |
Non-Web vBulletin Powered Script
NOTE: I just posted this in the wrong forum. Sorry. :hurt:
I have a script that I want to run as a cron job and that needs to be vBulletin enabled. This scriptwill be ran by my server's cron system and the not the built in vBulletin cron system. I'm running into a problem whenever I try to include "global.h", like below: PHP Code:
Unable to add cookies, header already sent I'm guessing that something in global.php is expecting a browser. Is there anyway to include the vBulletin framework in a console script? |
I use this in one and works fine. Script is in forumhome so you will need to alter the path to suite your needs if it's located elsewhere.
PHP Code:
|
That works perfectly! Thank you!!
|
Your welcome.
|
All times are GMT. The time now is 03:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|