pluginbaby Posted August 2, 2006 Share Posted August 2, 2006 Hi,I have created a php file. I can run it on my server and it works perfectly.I was wondering now: is there any possible way I can run the file on the server every 15 minutes automaticly (this is: I don't trigger the file myself) ?? Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/ Share on other sites More sharing options...
wildteen88 Posted August 2, 2006 Share Posted August 2, 2006 You can do by setting up a cron job if you are on a unix based server, or Schedule if you are on a wndows bases server. Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-67860 Share on other sites More sharing options...
pluginbaby Posted August 2, 2006 Author Share Posted August 2, 2006 and how I do that? ;DI think I have a windows server. Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-67864 Share on other sites More sharing options...
pluginbaby Posted August 2, 2006 Author Share Posted August 2, 2006 seems like I have a unix based server.I can do a crontab.But I don't understand how it works. I need to input:minute, hour, day of month, month, day of week, commandwhat I need to write inthere if I want it to run every 15 minutes?the file I want to run is called update.php and is located: www.myadres.de/main/update.php Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-67878 Share on other sites More sharing options...
HeyRay2 Posted August 2, 2006 Share Posted August 2, 2006 [url=http://www.phpfreaks.com/tutorials/28/0.php]http://www.phpfreaks.com/tutorials/28/0.php[/url]PHPFreaks.com, is there anything you can't do??? ;) Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-67885 Share on other sites More sharing options...
pluginbaby Posted August 2, 2006 Author Share Posted August 2, 2006 thank you. I know how to do it now ^^PHPFreaks.com My saving angel in times of darness. Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-67923 Share on other sites More sharing options...
pluginbaby Posted August 2, 2006 Author Share Posted August 2, 2006 sorry to bother you again.I can do only 1 cron job every month on my website.Isn't there another way I can do it? Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-67953 Share on other sites More sharing options...
onlyican Posted August 2, 2006 Share Posted August 2, 2006 Why does it need to be updated every 15 minsIf its for user show, then add it on the code.and when the user goes to see it, its updated straight away Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-68009 Share on other sites More sharing options...
pluginbaby Posted August 2, 2006 Author Share Posted August 2, 2006 now that I think about it, what you just said is a good idea. Stupid of me not to think about that earlier.Thank you so much. It works now as it should work :) Quote Link to comment https://forums.phpfreaks.com/topic/16337-trigger-php-file/#findComment-68041 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.