Quote:
Originally Posted by
Stuperfied
I did think of that but we are trying to make everything controlled by web interface and this is just one small part of a larger project yet to come.
Hmmm.
I used to think that way, but without really great serve-side sys admin skills you may be creating unnecessary security risks. Even guys like me with a decades of years experience on the server side, do not use the web to do superuser-required tasks. It just takes one mistake and you could lose your server and your data.
Yes, you can kludge solutions together which will work, but they will leave you vulnerable to major security risks.
I suggest you do this with a cron file, to insure your game servers are running, and move on to other tasks
Never, in the spirit of creating a "perfect solution" do things which leave your server vulnerable. After you have done 100 tasks and written 29999 lines of code, you will forget all the insecure code you wrote and you will have problems later on.
Why make problems for yourself when you can do the same thing in a more secure way which will not expose you to security risks?