View Full Version : Finally In!


abax
05-22-2004, 07:54 PM
Let me welcome myself among the owners of WWIM3 :D . Indeed I finally bought. Great software by the way! Can't wait for WWIM 4 :D .

Quick questions though:

How do I make the server run as a service (i.e. auto-start with my computer). There is not mention of that in the readme.txt file. Thanks!

Also, when a user logs out, it doesn't update the userlist.... (File-based)

Jafo
05-22-2004, 10:32 PM
In the readme file, see cronjobs for how to autostart the daemon.

Can you confirm the user is actually logged out?

abax
05-23-2004, 12:37 AM
In the readme file, see cronjobs for how to autostart the daemon.



You MUST cd in the cron script to the directory where the java server is located

If you don't start the cron from the directory where the server is located, the server will not be able to find
it's own dir, and it will store the registration files in the default directory for the user that started the cron job
In the case of Linux, this will probably be something like /home/sites/www.mysite.com/users/username/
YOU DO NOT WANT THIS TO HAPPEN, if it does, you will have to change the basepath to match it on your CGI server file as well
So switch to the java server dir before you start the cron.

I don't see where they tell me how to start the cron. They just tell me to be inside the directory of the server. Or am i missing something?

Jafo
05-23-2004, 02:59 PM
I guess you do not understand crontab, here is a good reference:

http://faq.solutionscripts.com/misc/crontab.html

Beer
05-24-2004, 03:50 PM
if you are running windows, simply open a new file in notepad.exe

put the line you type in on the command line to start the server, and save the file as startup.bat

now create a shortcut to startup.bat and place it in the startup section of your windows start menu.