Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > General Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
If your scheduled tasks aren't working
amykhar's Avatar
amykhar
Join Date: Oct 2001
Posts: 4,438

 

PA
Show Printable Version Email this Page Subscription
amykhar amykhar is offline 07-20-2005, 10:00 PM

I have seen some problems over at vbulletin.com about some scheduled tasks not running. Here is one possible fix.

If you are running an upgraded board, go to your scheduled tasks manager. Remove any scheduled tasks that are not installed by jelsoft and were not installed with a 3.5 modification.

The default ones that come with vbulletin are:
Daily Digest
Subscriptions
Daily Statistics Log
Event Reminder
Thread Views 07-10-2005
Hourly Cleanup #1
Attachment Views
Restore Temporarily Banned Users
Hourly Cleanup
User Promotions
Weekly Digest
Happy Birthday Email

One 3.5 mod I know of that adds one is my Velocity Modification.

If you are a 3.5 mod author and have created a mod that has an updated scheduled task, please let me know and I shall add it to this list.
Reply With Quote
  #12  
Old 07-22-2005, 02:06 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 07-22-2005, 02:24 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 07-22-2005, 02:29 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The one that restores temporarily banned users. I have it set to log even if nobody is banned.
Reply With Quote
  #15  
Old 07-22-2005, 02:40 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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);"
Reply With Quote
  #16  
Old 07-22-2005, 02:44 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did That's how I set it to log even if it didn't ban anybody.
Reply With Quote
  #17  
Old 07-22-2005, 02:50 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 07-24-2005, 06:38 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #19  
Old 11-21-2008, 11:35 AM
lovechandigarh lovechandigarh is offline
 
Join Date: Jul 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

am facing a similar problem with 3.7.4 Any clues?
Reply With Quote
  #20  
Old 11-21-2008, 02:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:28 AM.


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.04635 seconds
  • Memory Usage 2,284KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete