The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need Cron Suggestion
I want to use cron to update select information on my board a select day of the week. my problem is that the source i use to update that information only allows 10 results at a time and 1-2 second delay between each query. What I want to do is be able to do the entire table at intervals of 10. how would i do this?
sorta like when you run update user titles script where u can choose how many users to update in a cycle |
#2
|
|||
|
|||
Just put a:
PHP Code:
|
#3
|
||||
|
||||
k but how would i like make it split everything into pages without having the url change into scirpt.php?page=xx or is that how i should do it?
|
#4
|
||||
|
||||
ok still awaiting an answer if its ok to use redirect with vb cron...
|
#5
|
|||
|
|||
No i think, and on second thought my suggestion to use a sleep is also not a good one.
Best would be to keep somehow track of progress, and just continue where you left each time the job is run. |
#6
|
||||
|
||||
drrss, well i dont want to create a billion cron jobs if say i have 1,000 things to update>_> any other suggestions...
|
#7
|
||||
|
||||
just bumping to see if there any more suggestions
|
#8
|
||||
|
||||
bumping up again for suggestions please
|
#9
|
||||
|
||||
Sorry, I don't really understand what you are trying to do.
|
#10
|
||||
|
||||
im trying to design a script that will grab x items from a table then contact a web service to get updated information on those x amount items. the problem is that the web service only allows 1 query per x seconds and can only return 10 items per query but i want to do the entire table which has 200+ items. so that is my problem...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|