![]() |
Scheduled Tasks Not Working
My scheduled tasks have all stopped running automatically. They all still work if they are triggered manually by the 'run now' command though.
I've just checked the cron jobs on my server and I can't find anything relating to vbulletin. Is it possible that I've deleted the cron job by mistake which is causing this problem? If so, could somebody please give me instructions on how to easily restore this. Thanks in advance. |
Please start by ensuring that your footer template still contains the code needed to run Scheduled Tasks.
|
My footer code is as follows:
Code:
<script type="text/javascript"> |
It should at least contain:
HTML Code:
<!-- Do not remove $cronimage or your scheduled tasks will cease to function --> |
Quote:
|
Then you will need to post your current footer template.
|
HTML Code:
<br > |
All the $cronimage is a img tag when there is a schedule task that needs to happen. It best to put it near or the end of the footer template.
|
i think i put it around the
HTML Code:
<if condition="$show['dst_correction']"> after this? HTML Code:
<strong> |
If you go to edit your template and hit View History, you may then compare your current template to the default vbulletin template. The screen that comes up will show you where you should be putting the $cronimage code.
|
i tried that the first time, and ended up with a blank page when the forums where accessed, so i took it out and the forums are back working again. i just think it was in the wrong place in the template, it was right near dst_correction code on the other template so i added it back to there and that's when it stopped allowing anyone to access the forum. i've just been manually running the tasks for the last 6 months, and just now started to dig into why it's been doing it.
|
Perhaps post the template with your added in $cronimage code and we can see what you did wrong. Mine is right around the copyright notice, which I don't see in yours, and within the same form that the copyright notice is contained in. I'm not sure if it has to be within that form, but it might be a good idea to try. Do you have the copyright notice shown in another template? Perhaps that would be a good place to add it.
|
to be honest i'm just the other half of the admin team and i'm not that great with the stuff, just trying to help out and get something done about stuff not working. the copyright is in there "Powered by vBulletin? Version 3.6.8
Copyright ?2000 - 2008, Jelsoft Enterprises Ltd." which is where <td class="headlinks" background="$stylevar[imgdir_misc]/footer_bottom_teal.gif"><a href="http://www.vbulletin.com" target="_blank">$vbphrase[powered_by_vbulletin]</a> </td> <td background="$stylevar[imgdir_misc]/footer_bottom_teal.gif" class="headlinks"><div align="right"> comes into the code i think. |
Ah ha! It's all in one line in the code, so I missed it. This is what is in my footer template around there. Take a look at your template and you should be able to add it also (probably add it in the same td tag since it's something that never actually gets printed on the site - hopefully it doesn't bring your site down this time!):
Code:
<div align="center"> |
only one way to find out, i'll just have to test it to see. i didn't write/add any of the coding for the template, i just know where to find them in the acp. i've got some other small template issues as well with alignments of the "what's going on box" but that's another day.
|
All times are GMT. The time now is 04:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|