vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - vB AJAX Cron (https://vborg.vbsupport.ru/showthread.php?t=123719)

Tralala 02-16-2007 12:28 PM

/clicks install

Elegant, seamless and smart. The best kind of mod. :)

Tralala 02-16-2007 12:32 PM

Quote:

Originally Posted by redlabour (Post 1131544)
What are we talking about?

0,00001 seconds ?

It depends on the size of your site, and the specific cron that's running at the time...

I have quite a few cron jobs scheduled, one being a nightly backup, and when those kick in, I can tell the site feels sluggish when loading pages. This mod fixes that.

cash7c3 02-27-2007 04:06 AM

would this be possible to utilize a cron task to repair databases and restart the mysql service?

cash7c3 02-27-2007 04:08 AM

Quote:

Originally Posted by Tralala (Post 1183842)
It depends on the size of your site, and the specific cron that's running at the time...

I have quite a few cron jobs scheduled, one being a nightly backup, and when those kick in, I can tell the site feels sluggish when loading pages. This mod fixes that.

nightly backup for a accounts on my server? is this really possible with ajax? would you mind telling me more on how you have that working?

Tralala 02-27-2007 06:07 PM

Quote:

Originally Posted by cash7c3 (Post 1191664)
nightly backup for a accounts on my server? is this really possible with ajax? would you mind telling me more on how you have that working?

To clarify, it's possible with cron... this mod though initiates those (cron) sheduled tasks via an asyncronous AJAX call, allowing them to run in the background.

As far as how to get the nightly backup cron going in the first place, there are quite a few solutions... search and read and pick the one you like best... here are a few I've seen:

https://vborg.vbsupport.ru/showthread.php?t=126925
https://vborg.vbsupport.ru/showthread.php?t=105599
http://www.debianhelp.co.uk/mysqlscript.htm
http://www.vbhackers.com/f76/automat...3/index13.html

cash7c3 02-27-2007 06:10 PM

thanks

Xoligy 02-28-2007 02:26 PM

Wouldn't simpler method be to have window.stop at the bottom of your footer and then have ignore_user_abort(true); in the PHP file? For MSIE you could just evoke the escape key (27)

This will (in theory) effectively stop the page from continuing to load, but the php script will ignore the request and continue processing until it has finished.

Just an idea.

ultimo 04-06-2007 05:56 PM

Ok this mod doesnt work on 3.6.5. Any more support for this mod? I have followed all instructions but the scheduled tasks are not running...:)

mhc1576 04-06-2007 06:23 PM

It works without any problem in 3.6.5

ultimo 04-06-2007 06:36 PM

Hmm I followed all the instructions. Funny thing is the original cron seems to be still working. Schedueld tasks runs when i load the forum page, but does not run when its not loaded. Any thoughts about something i am missing?

I uploaded the files to my forum directory, that is correct no?


All times are GMT. The time now is 04:05 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.01126 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete