Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-09-2008, 07:32 PM
ched999uk ched999uk is offline
 
Join Date: Aug 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Scheduled Tasks not running - Low page views

Most of my Scheduled tasks fail to run, I don't have that many users so I am guessing that's why. The only ones that run are 'Thread Views Updated' and 'Hourly Cleanup #1 Completed'. I am guessing that is due to the cron.php not running frequently enough, it is still on my home page. Is it possible to use a cron job on my server to execute the cron.php? If so any ideas on the command as I think I need to use Curl?
Thanks for any help you can give.

Regards
Pete
Reply With Quote
  #2  
Old 09-09-2008, 11:41 PM
DoB Rhapsody DoB Rhapsody is offline
 
Join Date: Jul 2007
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had an issue with tasks not running on my board a few months ago. I was running a beta at the time. When 3.7 went gold i finally upgraded and it just fixed the problem.
Reply With Quote
  #3  
Old 09-10-2008, 12:47 AM
ched999uk ched999uk is offline
 
Join Date: Aug 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am running 3.7.3, but then again I did transfer servers. I will ask the chap who used to run the forum if the scheduled tasks used to run.
Cheers
Reply With Quote
  #4  
Old 09-10-2008, 01:15 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make sure $cronimage is in the footer template and make sure the database user has the correct permissions set on the database (Should be set to ALL)
Reply With Quote
  #5  
Old 09-10-2008, 06:30 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If some are running, then all should run. The only reason a few don't work would be if they exit with an error.

Can you provide a bit more info (screenshot of your Scheduled Tasks?).
Reply With Quote
  #6  
Old 09-10-2008, 08:18 AM
ched999uk ched999uk is offline
 
Join Date: Aug 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Images attached. 1 of the scheduled tasks list and the other the log. Hope that gives some clues.



Cheers
Reply With Quote
  #7  
Old 09-10-2008, 09:18 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the looks of that, it seems all is running.
Reply With Quote
  #8  
Old 09-10-2008, 09:36 AM
ched999uk ched999uk is offline
 
Join Date: Aug 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting as the RSS posts wont work for one. Why when I hhave the option ticked wont the task log show all the tasks that ave run?
The rss tasks are set to run every 10 mins and they are never listed in the task list log. If I run the task manually from the rss feed manager I get the message that says RSS Poster , RSS Feed manager , Done. But no posts show up. If I edit the rss feeds and preview te feed then I can see the info that should be posted.

I was guessing that RSS feeds were low priority so if I didnt get many visitors the task wouldn't execute?

The feed is http://www.blackpoolcitizen.co.uk/news/blackpool/rss/

Any ideas?
Thanks
Reply With Quote
  #9  
Old 09-10-2008, 12:34 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Priority is based on next Scheduled time. Check the jobs that do not show in the log, if are set to log their action.
Reply With Quote
  #10  
Old 09-10-2008, 02:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As Marco said, not all the Scheduled Tasks are set to log in the Scheduled Task Log by default which is why many of them are not showing in your log.
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:55 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.05927 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete