PDA

View Full Version : Cron Job Help


Takamine334
03-25-2007, 07:42 PM
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.