vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Scheduled Task not running (https://vborg.vbsupport.ru/showthread.php?t=314690)

kamran_dotnet 10-03-2014 07:28 PM

Scheduled Task not running
 
1 Attachment(s)
i think my Scheduled Tasks not working

please see attachment

i edit every one of them but noting happened

Lynne 10-03-2014 07:51 PM

You edited them? How about clicking Run Now on the top couple of tasks and then see if they start up again.

If not, what changed on your site or server just prior to them stopping?

cellarius 10-04-2014 07:39 AM

Did you edit your footer template?

kamran_dotnet 10-04-2014 03:31 PM

Quote:

Originally Posted by Lynne (Post 2517567)
You edited them? How about clicking Run Now on the top couple of tasks and then see if they start up again.

If not, what changed on your site or server just prior to them stopping?

i mean i edit them so they time was reset but its no use!
when i click run they run but after that problem still stand :D

Quote:

Originally Posted by cellarius (Post 2517615)
Did you edit your footer template?

yes
why?

Dave 10-04-2014 04:39 PM

Quote:

Originally Posted by kamran_dotnet (Post 2517650)
i mean i edit them so they time was reset but its no use!
when i click run they run but after that problem still stand :D


yes
why?

Because it must contain this:

PHP Code:

<div id="footer_morecopyright" class="shade footer_morecopyright">
    <!-- Do 
not remove cronimage or your scheduled tasks will cease to function -->
    {
vb:raw cronimage}
    <!-- Do 
not remove cronimage or your scheduled tasks will cease to function -->
    {
vb:raw vboptions.copyrighttext}
    {
vb:raw template_hook.footer_copyright}
</
div


kamran_dotnet 10-05-2014 04:09 AM

Quote:

Originally Posted by Dave (Post 2517664)
Because it must contain this:

PHP Code:

<div id="footer_morecopyright" class="shade footer_morecopyright">
    <!-- Do 
not remove cronimage or your scheduled tasks will cease to function -->
    {
vb:raw cronimage}
    <!-- Do 
not remove cronimage or your scheduled tasks will cease to function -->
    {
vb:raw vboptions.copyrighttext}
    {
vb:raw template_hook.footer_copyright}
</
div


yes it contain in my footer !

cellarius 10-05-2014 07:10 AM

Is this a live or a test board? Do you have traffic?

Lynne 10-05-2014 04:09 PM

If that code is in the footer, then I will assume the cron is trying to run but is erroring out. So, take a look at your error_logs (if you don't know where they are, ask your host) and see if there is something in there.

kamran_dotnet 10-05-2014 06:46 PM

Quote:

Originally Posted by Lynne (Post 2517764)
If that code is in the footer, then I will assume the cron is trying to run but is erroring out. So, take a look at your error_logs (if you don't know where they are, ask your host) and see if there is something in there.

no nothing is in error_log
its strange! all "next time" are stay in past
why they dont show future?

Lynne 10-05-2014 08:26 PM

Try disabling your modifications/plugins and see if you still have this problem after manually running one of the jobs.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

If so, Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Set this as the default in AdminCP > Settings > Options > Styles & Languages > Set Default Style. Then manually run one task and then browse the site using that totally default vbulletin style and see if the jobs are running.

If that doesn't fix it, a link to your site, running the default style/no mods, would help.

Hikarin 11-19-2019 09:30 PM

Quote:

Originally Posted by Lynne (Post 2517801)
Try disabling your modifications/plugins and see if you still have this problem after manually running one of the jobs.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Sorry to res an old thread, but I am also having this issue.

Scheduled tasks won't run on their own. I keep having to delete the vb_session periodically.
The footer is intact.

I have tried adding the PHP code that you mentioned to test disabling plugins, but it failed due to the fact that I'm using vB Advanced (I didn't consider that =_=).

This issue has been going on for some time now. I really need to find how to fix this.
It was just.... random.

Dave 11-19-2019 10:16 PM

It's normal for the vb_session table to contain data, are you sure it's not removing the appropriate records from that table?

Hikarin 11-19-2019 11:50 PM

I know that it is, but it's filling with over 80,000 lines which is overloading the file (hence the vb_session if full error messages), and causing a white screen of death on my website.
I have no choice but to empty it in order for my website to function, and it seems like it may be because my scheduled tasks refuse to run on their own.

Dave 11-20-2019 12:02 AM

Is your "Session Timeout" setting set to something really high? You can find this on the "Cookies and HTTP Header Options" settings page.

If it's set to something normal such as 900 and you are not getting a significant number of visitors on your forum (DDoS attack could cause it as well) then there may indeed be something else going on.


All times are GMT. The time now is 06:21 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.01166 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete