The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to automate database query?
Hi all
The "Execute SQL Query" option, Is it possible to automate this? I need to execute this query once a week, every week. UPDATE rbs_banners SET m_expired=0 Thanks. |
#2
|
|||
|
|||
You could make a plugin using hook cron_script_cleanup_daily and code like this:
PHP Code:
It's not perfect. For one thing if, for example, you set it up to run on Monday and for some reason the cleanup script doesn't run (like your forum is down or something), it wouldn't run until the next week. BUt it might be good enough for your purposes. |
6 благодарности(ей) от: | ||
blind-eddie, Lynne, MarkFL, Scandal, TheLastSuperman, viper357 |
#3
|
||||
|
||||
That seems great, thank you.
|
2 благодарности(ей) от: | ||
MarkFL, TheLastSuperman |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|