The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
i dont have to tell you.
|
#12
|
||||
|
||||
I can't think of anything that would need to be run so often, nor why it would be so direly important to run it that often.
If it really is, setup a traditional cron or task via your OS to operate it outside of vBulletin |
#14
|
|||
|
|||
Yes... I was stll editing when you posted, but of course thanks. I have really never used these editors correctly. I compose online and keep re-saving until I correct the text. I must drive you admins mad, sorry about that.
I always appreciate the help. --------------- Added 25 Apr 2014 at 14:40 --------------- |
Благодарность от: | ||
Lynne |
#15
|
|||
|
|||
Quote:
what you mean with that code where to put ? does anyone has a solution? |
#16
|
||||
|
||||
Chances are if you need the cron to run more often, there is a better way to do what you want. thus why I am asking.
|
#17
|
|||
|
|||
I will PM you a patch when I have the time today. I do have to agree with @Zachery, as this is most likely not the best way to be handling your event. I deleted the code from the thread as I believe it gives users the wrong concept about handling time sensitive events.
|
#18
|
||||
|
||||
If you really, REALLY need it to run more often than 5 min, then making sure there is traffic on your board is going to be a bigger concern. Not to mention it could cause problems if you're running it so often other requests can't get processed for some reason.
The system cron jobs, or scheduled tasks would be better. That or just calling your code outside of the cron all together on every page load. |
Благодарность от: | ||
tbworld |
#19
|
|||
|
|||
Its about a cron for threads import and its temporary needed.
so runing it for a period of time every 2 min is ok. thank you tbworld for the code, but is it safe to use or can cause problems? or is there a easyer way to run it on server cron or so |
#20
|
|||
|
|||
As I stated in the code I sent you: it has not been stressed tested on different server setups, so you are using at your own risk. The code was tested for functionality and limited mufti-threaded testing.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|