vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Cron Job, really doing my head in, please help (https://vborg.vbsupport.ru/showthread.php?t=281825)

kh99 04-23-2012 06:45 PM

I'm not sure I clicked on it before I posted - I kind of think I didn't, but maybe I did.

I did just click on it now.

--------------- Added [DATE]1335214070[/DATE] at [TIME]1335214070[/TIME] ---------------

Quote:

Originally Posted by lukescotty (Post 2322880)
the cron is set to everyminute on CPanel, where as the times in VB Schedule task manager are set at different times of the hour 00, 04, 15, 31, 36, 58

OK, then it will only run at the times set in the Schedule Manager. If you want it to run every minute you'd need to set it to * - - - - -.

But it sounds like you're saying you haven't seen it run at all, and the Next RUn time is in the past?

lukescotty 04-23-2012 06:50 PM

nah, didnt update :( i'm pulling my hair out here, dunno what the the problem could be. When ever I select the http://www.talknightlife.co.uk/runrssposter1.php it should run right ?

kh99 04-23-2012 06:53 PM

Well, it'll only run if the vb scheduler thinks it's time for it to run.

I'll create a debug version of includes/cron/rssposter.php and get it to you so we can see what's going on.

lukescotty 04-23-2012 07:29 PM

by the looks of it me clicking http://www.talknightlife.co.uk/runrssposter1.php could possible be working, i just need to wait 10 min for the feeds to be checked, then i'll click again.. stay put :)

kh99 04-23-2012 07:42 PM

Oh good, I hope it's working because I'm not sure I'll be able to get to the other thing today.

So it could be that it's thecron job that's not running right. Maybe you need to add the path to the php executable or something.

lukescotty 04-23-2012 07:42 PM

i don't know whether me refreshing the forum page is triggering it or not. Touch wood its not, so i'm going to update a twitter status every 20 mins without checking, then visit my forum, and they should line up in new threads.

--------------- Added [DATE]1335226472[/DATE] at [TIME]1335226472[/TIME] ---------------

ooohhh yes, i'm still at it..... I've got it to the point, where i can goto the url with my runrssposter.php and it manually works, just sorting it out with my host. Surely the problem has to got be on the hosting side? they keep changing the cron code from curl to php... wish it luck

--------------- Added [DATE]1335232526[/DATE] at [TIME]1335232526[/TIME] ---------------

nearly 3am but it looks to me like its all sorted

The runrssposter1.php (the last code u posted) is the one i'm using, i've wacked it in root of the server.

My host tried a cron job with , php, curl, wget but it wouldn't execute properly, then they tried this "lynx -dump http://path to php file" and it worked

Touch wood it'll keep working tomorrow

Kevin I can't thankyou enough for putting in the time and effort in getting this working, I really appreciate it. I wonder if this would be re-edited into a sticky for others, i dunno :S

Many thanks

Regards Lukescotty


All times are GMT. The time now is 11:11 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.01699 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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