Rebuild User Cache every minute

Alex Price

Member
I was wondering if someone could assist me in getting something like this working.

I am planning on changing the user's group externally through the forum's SQL database, and for it to actually change the user's group, the user cache needs to be rebuilt.

Is there a way of making the forums rebuild the user cache every minute?

Any help is greatly appreciated!
 
You can view some examples from XenForo.
In PHP code: ../library/XenForo/CronEntry
In Tools: {YourBoardUrl}/admin.php?tools/-> Cron Entries Tab
Whenever I add a cron entry with the following settings:
sFHOljw.png

I get the following error:
hKL66Q5.png
 
1.Your cron callback isn't valid (you can't use the cacherebuild class & methodname as cron callback;).

2. The cacherebuild is deprecated and doestn't exist in 1.2. Are you still on 1.1.x?
 
Last edited:
Top Bottom