(correct me if im wrong people)
The task that populates and updates the data runs when pages on the site are loaded. This isn't guaranteed on every page load, just when the page load co-insides with the job schedule. We have 119 guildies, so if the job runs every 15 min like default it would take quite some time to run.
What I did was copy the cron.sh file to grosterupdate.php
Find this section
Code:
if ($vbulletin->options['crontab'] AND SAPI_NAME == 'cli')
{
$cronid = intval($_SERVER['argv'][1]);
// if its a negative number or 0 set it to NULL so it just grabs the next task
if ($cronid < 1)
{
$cronid = NULL;
}
}
exec_cron($cronid);
change the line I bolded above to match the schedule id of your "gWoWRoster Character Info Update" scheduled task. For me it was "18".
change the line:
Code:
exec_cron($cronid);
to:
Code:
exec_cron(actual_job_id);
substitute actual_job_id for the schedule id number.
then you can call this from crontab or run it manually a bunch of times.
add something like this to your unix crontab:
Code:
* * * * * php /usr/local/www/path/to/forums/grosterupdate.php >& /dev/null
this will run it every minutes. Its not the best way to do it, I would set it to like say every 10-15 min or so. refer to the crontab documentation for details on that.
Or just run it like this from the command line: php /usr/local/www/path/to/forums/grosterupdate.php
Remember that it only updates 1 member at a time so if you guild has 100 users, it needs to run 100 times.
-ken