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. 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. 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. 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 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. 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. 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. 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? 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
Archived
This topic is now archived and is closed to further replies.