topflight Posted May 29, 2010 Share Posted May 29, 2010 Hello I have a PHP script that needs to be ran like every 1min is their away to do this withour doing an cron job? Because my hosting company doesn't allow cron jobs to be ran under a 15 min interval. And If their is no other way may someone please tell me how to set up a cron job a php script every 15mins. I currently have it set up to run every 15mins however it dosent for some reason. So please help. Thanks in advanced. Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/ Share on other sites More sharing options...
premiso Posted May 29, 2010 Share Posted May 29, 2010 You can setup your own personal computer to run a cron job or scheduled task that calls a webpage which will run the code you need to. Other then that, not sure if there is. Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065077 Share on other sites More sharing options...
topflight Posted May 29, 2010 Author Share Posted May 29, 2010 Ok well then may you please guide me through on how to set up a cron job that runs a php script every 15mins. Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065079 Share on other sites More sharing options...
jcbones Posted May 29, 2010 Share Posted May 29, 2010 http://adminschoice.com/crontab-quick-reference Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065087 Share on other sites More sharing options...
topflight Posted May 29, 2010 Author Share Posted May 29, 2010 I have followed that and for some reason i get an error. And also it doesn't run every 15mins. Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065092 Share on other sites More sharing options...
kenrbnsn Posted May 29, 2010 Share Posted May 29, 2010 It sounds like your hosting company has special rules for cron jobs. Ask for support from them. Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065097 Share on other sites More sharing options...
topflight Posted May 29, 2010 Author Share Posted May 29, 2010 Well is there some type of other way I can have that script to be ran more very often like every 1min. Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065110 Share on other sites More sharing options...
jcbones Posted May 30, 2010 Share Posted May 30, 2010 Is your hosting on a windows server? Quote Link to comment https://forums.phpfreaks.com/topic/203290-need-php-script-to-be-ran/#findComment-1065214 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.