If I have a bash script like this: while true do wget www.***.com >> file sleep 3600 done Code (markup): Is it possible to upload it to a webhost and have it run indefinitely. I have a hostgator account. How do I do this?
Upload it through the file manager, and create a wrapper php script that will run it. Probably something like . But! It depends on how hostgator is configuring its hosting, so it may need some tweaking. Afte you get it to run once, schedule the php script to execure through cron (probably on CPanel somewhere).