My hosting doesn't allow 1 and 5 minutes crons and I need them, can I use something else instead of crons? PS: I use crons to refresh URL's.
You could trigger the job when a web page is accessed but it's not quite the same and if you don't get a visitor for say 2 minutes you miss a run. You could have an external machine run a job every minute to call a specific page on your site which holds the cron code, a variation on the above, this would of course need another machine somewhere. Really it's just going to be a whole heap easier to up and move hosts to a more suitable one.
Google this. "free offsite cron jobs" without quotes. And you'll get dozens of websites who offer this service.
The only result I get is this thread. Anyways there aren't a lot of websites that offer 1 min crons for free.
I just tried to help you. If you decided not to use my method, then DON'T! That's up to you. I could have help you in a better way if you have showed some respect to the replies of others who tried to help you.
It is not that difficult to do what you want. How often can you run a cron job? If you can write a simple shell script then you can do it yourself and use sleep 60 in a loop to run something every minute.
#!/bin/sh while true do wget -O /dev/null "http://url-that-needs-to-be-refreshed.com" 2> /dev/null sleep 60 done Code (markup):
What exactly are you trying to do? I think there's a meta refresh tag ...sites usually use it to redirect somewhere else after X seconds but you can use it to make a page refresh itself automatically too.