vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Something strange about cronjobs (https://vborg.vbsupport.ru/showthread.php?t=75838)

Marco van Herwaarden 02-15-2005 09:50 AM

I not tried posting this on vb.com or as a bug yet, thought i could first get the opinion of some fellow coders on it.

But because of the lack of response in here, and teh confirmation from noppid that i am not alone on this, i think i will try it with a bug report and see what reaction i get.

James T Brock 02-15-2005 04:50 PM

The scheduled task script in vB appears to be just for simple stuff and rarely seems to work correctly when incorporated into mods. I have the NNTP gateway script included on my site and it would only partially work (would recieve usenet posts fine but wouldn't send out any) so instead of using the scheduled task manager I just used real cronjobs. Now it works perfectly.

I don't know why this is the case, just letting you know other hack authors have had the same problem.

Marco van Herwaarden 02-15-2005 07:26 PM

Then i think it is about time we do something :D

Slave 03-10-2006 01:07 PM

Did you ever report this MarcoH64? .. I can't find the bug report if you did.

Marco van Herwaarden 03-10-2006 01:15 PM

I think there was (in the vB3.0 bug reports)

Slave 03-10-2006 01:28 PM

Ahh .. didn't see the date of the thread .. I was looking in the 3.5 bugs ..

Reason I ask is that I'm seen a similar problem with a cron job for a hack, where it works fine if "run now" and yet when it runs at the time set it says its run correctly in the logs but it seems only some of the script runs ..

You said above you know what to look for .. is it something obvious, or is it something deeper you need to add to the code?

Marco van Herwaarden 03-10-2006 01:32 PM

Are you using functions in your script that rely on global variables?

PS That bugreport was closed with a "Working as Designed" if i remember correct.

jwocky 06-01-2006 02:25 PM

Rehashing an old thread, I have the same exact problem and found that the global variables were the key. Is there a solution to this short of moving all my global variables into the individual processes ? (pain! :)


All times are GMT. The time now is 09:00 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.01074 seconds
  • Memory Usage 1,723KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete