The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New Cron/Scheduled Task Problem
Hi guys,
I have set up a custom scheduled task that works properly when clicking the "Run Now" button. However, it doesn't trigger automatically like the other scheduled tasks do. It's set to run every minute, and when the forum is refreshed, "Next Time" is properly updating to reflect the correct time...but it's not running or logging. A coder friend of mine created a different customized script for my board and the same thing is happening on his as well. Everything about these two cronjobs is working except for the actual automated execution of them. Other cronjobs work across the board. Any idea why this is happening? |
#2
|
||||
|
||||
I would check to make sure the owner/group of the file and the permissions are the same as the cron scripts that are working.
|
#3
|
|||
|
|||
Can I see the code?
|
#4
|
|||
|
|||
Quote:
They're pretty big files. Is there any part in particular you'd like to know about? |
#5
|
||||
|
||||
Best to post the whole code the issue which might be causing the problem could be anywhere...
The issue might also be related to your site's traffic. The way vbulletin runs scheduled tasks is by displaying the image cronimage.gif within the footer template whenever a page in your forums loads (or is refreshed). If the forum doesn't have enough traffic to exec all scheduled tasks, then it could simply be a, issue of the scheduled task hasn't yet been tole to run. Check your scheduled tasks log within Admincp and see if the scheduled tasks are all caught up |
#6
|
||||
|
||||
Running a cron job from the ACP and running one in reality are not quite the same - you are running the code in a different environment. Something that runs from the ACP may not work when triggered by the actual cron system.
No one is going to be able to help you unless you post (or attach) the actual code. |
#7
|
|||
|
|||
Hi Guys,
Sorry about the code length. I'm attaching the file here. Any help is appreciated. Thanks, OH |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|