I am wondering if this is possible: I put a php file - or perhaps another language - on the server and execute it without opening a browser. Why do I want such a thing: say I want to make a crawler, the way I know now is to write a php script that follows some urls and read them, this way I have to open my browser and wait until it finishes its job. Now I want to know if I can put a file on the host and let the host server do that for me without me being even connected to the internet. I guess if such a thing is possible it would be another languages and not PHP. .
Yes, but only in case I can use linux shell have have authority to use cron. How can I do using hosting service like godaddy?
Some hosts allow you to setup cron jobs via a control panel interface. If there is nothing in the control panel and they don't offer shell access, get a better host.
if you have CPanel than you can use cron easily or if you have shell access than u can use it. cron is a tremendeus function for me