Log in

View Full Version : cron jobs not running


MorrisMcD
08-30-2006, 12:19 PM
HELP!

Ok.. It started out by me noticing that the vbplaza stuff I have wasnt working. the lotto, the paychecks, etc.. I decided I could deal with that and wait for the coming upgrade in hopes that would fix it

ANYWAY

I had a couple users I had to ban for a week and after their ban time expired, the ban was NOT lifted. Turns out the lift ban for temp ban users cron job isnt running EITHER. I ran it manually, and just like the vbplaza jobs, it worked fine. The thread views are updating.. Those are dont by cron job too, right? I havent noticed any other things.. I have abouttoday installed and that seems to update its news.. So its kinda selective.. What would anyone here suggest about diagnosing the issue.. Things I can try? This totally sucks and I really wanna get this fixed :(

Thanks a lot...

peterska2
08-30-2006, 01:16 PM
check that you have your cron image in your footer as cron jobs require this to be present to run. Also if there is 0 activity (as in 0 visitors to your site) then the cronimage won't trigger.

MorrisMcD
08-30-2006, 01:37 PM
Yep... Its there

<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

This.. Right?

peterska2
08-30-2006, 05:15 PM
Thats right. It could be one of your modifications that is affecting it. The only way to find out which is to disable all of them and see if your scheduled tasks run then, then reable them one at a time till you find the one that stops them from working.

rickycc
08-30-2006, 07:29 PM
I have photopost installed /forum/photos/ and the cron.php is in /forum/. when visitors goto my gallery it looks for the cron.php in /forum/photos/ because the footer code = $cronimage
1. can i copy cron.php into /photos
2. can i change to footer to /forum/cronimage instead of $cronimage
thanks,

Ntfu2
08-30-2006, 08:15 PM
1. yes
2. no

MorrisMcD
09-09-2006, 03:18 PM
Thats right. It could be one of your modifications that is affecting it. The only way to find out which is to disable all of them and see if your scheduled tasks run then, then reable them one at a time till you find the one that stops them from working.
Unfortunately that did not work :(

I disabled each hack as well as turning plugins/hooks off in the options.. Neither worked.. They still arent running automatically... :(

Any other thoughts?

I think I just found a common link.. POSSIBLY.. Could having it set to log affect it??

nope.. Damnit