Well, I can easily create a background process on my laptop so that it accesses the site thus running the code. But, It would be MUCH better if it ran on some server...
You can run background processes on shell accounts, atleast, if you don't buy the cheapest one... They usually limit the number of processes you can run.
Anyway, I don't know how to use shell at all so its gonna be a problem to use it...
There are two ways in which the process can run i think...
1.) Call up a site, the site will have code in it to automatically refresh the page.
2.) Call up some code and run it, then run it a few seconds later again. (When I make it loop the code looses the affect)
I would prefer the first one if its possible but I dont think it is possible...
A question--
The script does something like this: opens a file then gets some data from it then prints it. The data it gathers isn't important. Whats important is what happens when it opens the file. It actually does have to do the printing. I tried to write the data to a database and a file but then the script lost its affect...
If I get a shell account, one allowing background processes then will I be able to run my script and have it work as it would on my computer? So that it does the Printing?
If so, can someone point me in a shell tutorial or something? One easily followed 🙂
Thanks much! If the script can run on a shell account, it would be very very nice!