vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Cron job fails? How to debug? (https://vborg.vbsupport.ru/showthread.php?t=79171)

StewardManscat 04-01-2005 01:34 PM

Cron job fails? How to debug?
 
1 Attachment(s)
I have coded a small cron job.

When I run it manually from the Scheduled Task Manager, it completes normally. vb reports DONE, and the output is added to the database as expected. Life is good.

But it never runs automagically.

I am stumped on how to begin debugging this problem.

vb shuffles the job in the list according to when it will be run next, so it seems to be trying it every day. All the other jobs seem to be working.

Appreciate any insight.... many thanks in advance.

Okay got it. Sometimes just posting here gives me the motivation or "fresh eye" to see the problem.

Changed an include statement to a require_once statement.

The file to include is './includes/functions_mysite.php', just my own collection of common routines.

This still leaves me scratching my head. I cannot find where it might be previously included when the cron job runs automatically. But apparently not included when the cron job is run manually from the admin panel.

Anyone familiar witjh this scenario? I think I am missing a trick when it comes knowing the difference between manual and runtime cron jobs...

alloutvb 11-11-2005 03:17 AM

having the same problem and i have no where to look im searching here and came across your post but it seems no one has any idea :(

Marco van Herwaarden 11-11-2005 10:08 AM

What vB version are you using?


All times are GMT. The time now is 03:08 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
  • Page Generation 0.01872 seconds
  • Memory Usage 1,704KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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