vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=189)
-   -   If your scheduled tasks aren't working (https://vborg.vbsupport.ru/showthread.php?t=92632)

amykhar 07-22-2005 02:06 PM

No functions and no global variables in this one. And, it worked no problem under 3.0.7. I simply updated it to use the correct 3.5 $db instead of $DB_site.

Plus, one of the jelsoft cron tasks doesn't seem to run either.

Amy

tamarian 07-22-2005 02:24 PM

Quote:

Originally Posted by amykhar
Plus, one of the jelsoft cron tasks doesn't seem to run either.

Which one? It may add an extra clue.

There is definitly something weird going on, and we know so far that it only occures as a cron, but works from the task manager.

amykhar 07-22-2005 02:29 PM

The one that restores temporarily banned users. I have it set to log even if nobody is banned.

tamarian 07-22-2005 02:40 PM

Quote:

Originally Posted by amykhar
The one that restores temporarily banned users. I have it set to log even if nobody is banned.

For some reason, vB devs commented out the else part in that file. So it will not log anything, if nothing was done, regardless of the setting to log. You might want to uncomment that part (if you haven't done that), just to make sure if it is, or isn't, running.

Edit: it will also need " log_cron_action($logmessage, $nextitem);" :)

amykhar 07-22-2005 02:44 PM

I did :) That's how I set it to log even if it didn't ban anybody. ;)

tamarian 07-22-2005 02:50 PM

O.k., the plot thickens, this should be interesting to find out. I'll go browse the bug tracker :)

EDIT: This is a new post, 7 hours later, merged automatically as duplicate. So I think it will not generate a notification!!

Amy, not sure if this helps, but I was unable to duplicate your problem with removebans.php I added a couple of numbered:

log_cron_action(' test 1 ', $nextitem);

statements and they showed up in the cron log through the cron method.

I still think there's something weird with crons, but removebans didn't help narrow it for me :)

Christine 07-24-2005 06:38 PM

I just added 3 crons, set to run every 5 minutes (not big ones, they just close any open threads that have a post count over 250 since I can't get that working again as a plugin).

I also went live on 3.5 today, so have 200+ users pounding the forum right now.

They are running just fine.

I don't have any temp-banned users to test the other though as we have only been using permanent bans to this point.

lovechandigarh 11-21-2008 11:35 AM

am facing a similar problem with 3.7.4 Any clues?

Lynne 11-21-2008 02:32 PM

You should start your own thread with all the pertinent information for your problem.


All times are GMT. The time now is 07:49 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02613 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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