vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   scheduled tasks not running. (https://vborg.vbsupport.ru/showthread.php?t=125231)

Jenkins 08-29-2006 01:00 PM

scheduled tasks not running.
 
I'm trying to figure out why my scheduled tasks are not running. I've posted on Vbulletin.com about the issue but of course they just keep telling me it's becasue I have products and hacks installed, they won't get anymore specific than that.

have any of you experienced this problem? Hacks/Products I have installed are

Right column code
ibproarcade
miserable users
glowing names
event attendance
extended sig limits
marquee system

Ntfu2 08-29-2006 05:20 PM

post up your footer template, or make sure that this

Code:

$cronimage
Is still in the footer some place

Jenkins 08-30-2006 12:55 AM

thanks for the help.. here's my footer

HTML Code:

<!-- Right Column Code  -->
</td>
<td width="160" valign="top" align="left">$rightcolumn</td>
</tr>
</table>
</td></tr>
</table>
<!-- End Right Column Code -->

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">
       
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
        <if condition="$show['quickchooser']">
                <td class="tfoot">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <if condition="$show['languagechooser']">
                <td class="tfoot">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <td class="tfoot" align="$stylevar[right]" width="100%">
                <div class="smallfont">
                        <strong>
                                <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
                                <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                                <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                                <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                                <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
                        </strong>
                </div>
        </td>
</tr>
</table>

<br />

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>
       
        <div class="smallfont" align="center">
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
        $cronimage
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
       
        $vboptions[copyrighttext]
        </div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
        var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
        var utcOffset = new Date().getTimezoneOffset() / 60;
        if (Math.abs(tzOffset + utcOffset) == 1)
        {        // Dst offset is 1 so its changed
                document.forms.dstform.submit();
        }
//-->

</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->

</script>


agsguar 09-01-2006 03:24 PM

try this!

I have the answer..

Check in your forum permission, in CRON.PHP file.. CHANGE the CHMOD to this

http://img118.imageshack.us/img118/4236/1tl7.jpg

Originaly this appears whitout permission, after this the task work fine and automatic.

Regards!!

Code Monkey 09-02-2006 04:15 AM

Installing this mod has been known to fix non running crons. Give it a try.

https://vborg.vbsupport.ru/showthread.php?t=123719

If you are running 3.5x follow the link there to the 3.5x version.

Jenkins 09-05-2006 04:51 PM

nope neither of those worked. the thing that is weird is that all the dates for "Next time to run" are in the past. what's up with that?

photongbic 10-03-2006 02:37 PM

I am having a similair problem... My scheduled tasks are running but not when they should be! Tasks that are scheduled to run at 1am are running between 9 and 10am. The system is reporting the correct time.

Thoughts?

Paul M 10-03-2006 02:48 PM

Scheduled tasks can only run if enough people visit the site to trigger them (not spiders, etc).

photongbic 10-03-2006 04:42 PM

Quote:

Originally Posted by Paul M
Scheduled tasks can only run if enough people visit the site to trigger them (not spiders, etc).

Pardon my ignorance but why does it matter if real people or spiders hit the forum? Doesn't cron get run by hits to footer.php which calls $cronimage? Doesn't that run if it is a spider or not?

Just trying to get a better understanding of the cron system in vBulletin.

Thanks!

photongbic 10-05-2006 09:01 AM

Any one?

Thanks!

Paul M 10-05-2006 09:12 AM

Quote:

Originally Posted by photongbic
Pardon my ignorance but why does it matter if real people or spiders hit the forum? Doesn't cron get run by hits to footer.php which calls $cronimage? Doesn't that run if it is a spider or not?

Yes it matters, spiders will not normally attempt to load the $cronimage, therefore they will not trigger the running of crons. It will only happen when the page is loaded by a browser.

photongbic 10-05-2006 10:55 AM

Quote:

Originally Posted by Paul M
Yes it matters, spiders will not normally attempt to load the $cronimage, therefore they will not trigger the running of crons. It will only happen when the page is loaded by a browser.

Thanks! I have alot to learn about spiders.


All times are GMT. The time now is 03:01 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.01330 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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