vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Cron Job Help (https://vborg.vbsupport.ru/showthread.php?t=143141)

Takamine334 03-25-2007 07:42 PM

Cron Job Help
 
How do I implement a cron job for every 12 hours to run the "Fix Broken User Profiles" ?

Marco van Herwaarden 03-25-2007 08:09 PM

That would require writing a custom script.

Why do you want to do this? It is hardly ever needed to run that option.

Takamine334 03-25-2007 11:27 PM

I have users that sign up to use a program via Visual Basic 6. The program also inserts their information into the USER table. Doing this ads the newly registered users to our support forum, however, the "broken profiles" needs to be run. How can I get this script written?

Marco van Herwaarden 03-26-2007 09:49 AM

You should also add rows for the new users into the usertextfield and userfield tables.

Easiest would be if you could call a php script that uses the vBulletin Data Managers to insert a new user, as that would ensure that it will always work correct.


All times are GMT. The time now is 11:19 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.00964 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
  • (4)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