well, i have only been learning about linux, unix and shells for a few days.
For my online game to work, i need run a file each 10 seconds. Running that file will update mysql data, causing my online game to "tick". This adds resources and fights battles in game.
I know that i need to use a bakground process, a wget commad.
Code:
#!/bin/bash
while true; do
wget my_url/tick.php
sleep 10
done
exit 0
That keeps the process running, whilst i am logged in to putty.
I want to exit my SSH program, and leave that process running for ever. Please help me!
Thanks, Kiran