bgame-hunter / temars-eve-api

Automatically exported from code.google.com/p/temars-eve-api
0 stars 0 forks source link

Cron not working. #69

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
TEA Version?
1.2.1.150
SMF Version?
2.0 gold

What steps will reproduce the problem?
1. Run TEA_Cron.php
2.
3.

What is the expected output? What do you see instead?
For it to run the cron job, but it gives me a log in page.

Please provide any additional information below.

Original issue reported on code.google.com by sc...@pieh0.co.uk on 1 Aug 2011 at 10:29

GoogleCodeExporter commented 8 years ago
Also, when should the cron job get run now that it has the time out?

With 500+ people on a forum, if the cron job stops after 20-30 secs (what ever 
the time out what) it will take days to get through all 500 people.

Original comment by sc...@pieh0.co.uk on 1 Aug 2011 at 10:50

GoogleCodeExporter commented 8 years ago
run every minute

it has built in timer for the 1 hour wait, run every minuite and it will go 
thought list, it will do all it can in 25 seconds then wait till next run, when 
complete waits 1 hour

as for login ill see wat i can figure out when i get chance

Original comment by tema...@googlemail.com on 1 Aug 2011 at 10:54

GoogleCodeExporter commented 8 years ago
Cool, time to change the cron job then :P.

Thanks again

Original comment by sc...@pieh0.co.uk on 1 Aug 2011 at 11:15

GoogleCodeExporter commented 8 years ago
Just noticed the same thing is happening with the TS Cron scripts as well.

Original comment by sc...@pieh0.co.uk on 2 Aug 2011 at 5:29

GoogleCodeExporter commented 8 years ago
yer its caused by use of SSI.php
so all the cron files will do it

Original comment by tema...@googlemail.com on 2 Aug 2011 at 5:40

GoogleCodeExporter commented 8 years ago
boooo ;)

Original comment by sc...@pieh0.co.uk on 2 Aug 2011 at 6:00

GoogleCodeExporter commented 8 years ago
ok you get the login when u set your forum to not allow guests access
this option is under Configeration -> Features and Options -> General -> allow 
guests to browse the forum

Original comment by tema...@googlemail.com on 2 Aug 2011 at 7:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
K, thats working, anyway round allowing guest access?

Original comment by sc...@pieh0.co.uk on 2 Aug 2011 at 8:28

GoogleCodeExporter commented 8 years ago
Add "$ssi_guest_access = true;" above ssi.php includes in the cron jobs to 
avoid having to enable 'allow guests to browse the forum' permission.

From ssi_examples.php:

/* Define $ssi_guest_access variable just before including SSI.php to handle 
guest access to your script.
        false: (default) fallback to forum setting
        true: allow guest access to the script regardless
*/

Original comment by enqack on 2 Mar 2012 at 9:54

GoogleCodeExporter commented 8 years ago
Just tried that and it works great.

No idea why google didn't let me know that you had replied, but thanks anyway 
:P.

Original comment by sc...@pieh0.co.uk on 10 Dec 2012 at 8:37