vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB3 redirecting... (https://vborg.vbsupport.ru/showthread.php?t=66069)

meowmeow 06-11-2004 12:40 PM

VB3 redirecting...
 
I have about 8 scripts i need to import forums and moderators into the VB database and then update all the counters...

to avoid putting 8 scheduled tasks in VB (cuz i want to run these imports once a day)
i put 3.
1-import forums
2 import moderators
3 update counters.

there are 3 files to import the forums, so at the end of the first 2 i put a redirect to the subsequent one so that by launching the 1st one, all three get executed!

and it works fine from the browser!

when running it in the VB scheduled tasks, the redirects don't work because VB outputs some text while executing these tasks.

so i'm trying to use the VB redirect (as seen in misc.php line 412/443)

doesnt work! i'm obviously missing an include or something to make this work! can anyone tell me how to use these redirects!??

Brad 06-11-2004 01:52 PM

Why not set them up on regular cron? If you are on a *inx server that would be the best way to go about it, it will ensure they run at the time you set them to aswell.

meowmeow 06-11-2004 02:28 PM

they run at the time I set them on the VB sheduled tasks as well dont they???


All times are GMT. The time now is 03:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01104 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete