It is currently Fri Mar 29, 2024 12:08 am


The forum is READ ONLY. Please direct any future discussions to our Facebook page


 Page 1 of 1 [ 5 posts ] 
Author Message
 Post subject: Cron Logouts
PostPosted: Wed Feb 06, 2008 11:26 pm 
Newbie
Newbie

Joined: Mon Nov 26, 2007 2:42 pm
Posts: 13
When my crontab executes (and it does so correctly as my turns increase, etc...) it logs out my users. Has anyone run into this before?

Thanks!

Moriarty


Offline
 Profile  
 
 Post subject: Re: Cron Logouts
PostPosted: Wed Feb 06, 2008 11:40 pm 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
It sounds like the cron isn't finishing.

Go to the admin area and run the cron manually and watch what is displayed. If the cron aborts before it finishes then there is your problem. You may have to run it a few time to see it execute the different scheduled items.



_________________
PJ's Annoyingly Useless Blog
ADOdb Lite
Template Lite
Offline
 Profile  
 
 Post subject: Re: Cron Logouts
PostPosted: Thu Feb 07, 2008 8:59 am 
Newbie
Newbie

Joined: Mon Nov 26, 2007 2:42 pm
Posts: 13
I ran it a dozen times and it always comes back completed. There is always a message like this at the end:

The scheduler took 2 seconds to execute.
111 queries in 1.3359 seconds


Here is my crontab entry:

*/5 * * * * /usr/bin/wget --tries=1 --timeout=10 -q -o /dev/null -O /dev/null )

Anything else I can check?

Thanks!


Offline
 Profile  
 
 Post subject: Re: Cron Logouts
PostPosted: Sat Feb 09, 2008 9:20 pm 
Newbie
Newbie

Joined: Mon Nov 26, 2007 2:42 pm
Posts: 13
I actually have the same problem when I manually run the scheduler. It does seem that the casino.ini file is being corrupted by the scheduler. When I rerun the installer.php it complains about that file. Check on the system and it is smaller that the original. Replace it, and scans correctly. After the update runs, bad .ini file.

Any thoughts?


Offline
 Profile  
 
 Post subject: Re: Cron Logouts
PostPosted: Sat Feb 09, 2008 9:56 pm 
Developer
Developer
User avatar

Joined: Wed Feb 19, 2003 6:07 pm
Posts: 2930
It sounds like you have something else seriously wrong with your server.

The scheduler files never access the casino.ini file. It may be something else getting corrupted and when you run the installer it fixes the problem. Maybe you have something else on that server that is modifying the files that shouldn't be touching them like a virus.

The casino.ini is never modified by ANYTHING after it is written to the directory using the aatrade_package_installer program. It is only read by the ports/casino.inc and create_game/30.inc programs. Nothing ever writes to the file. If it is being changed then something outside the game is modifying it and probably modifying other files causing your problems. It's definitely nothing the game is causing in this case.



_________________
PJ's Annoyingly Useless Blog
ADOdb Lite
Template Lite
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron