Daney11 Posted January 23, 2007 Share Posted January 23, 2007 Hi Guys,Im just wondering wether or not it is possible for a PHP file to run automatically.Say i wanted a certian file to be ran every hour at a certian time of that hour. Is this possible?ThanksDane Quote Link to comment Share on other sites More sharing options...
michaellunsford Posted January 23, 2007 Share Posted January 23, 2007 it's called "cron" and it will run as often as you'd like it to (once a minute to once a year and most anything in-between). You can google search for cron, or ask you hosting provider how to set it up. Quote Link to comment Share on other sites More sharing options...
Daney11 Posted January 23, 2007 Author Share Posted January 23, 2007 Thanks a lot mate. Ive found out about it on google and how to set it up. And also it only runs on Linux so i'll be buying Linux hosting.Thanks again. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 Windows has scheduled tasks, but go for Linux anyway :) Quote Link to comment Share on other sites More sharing options...
Daney11 Posted January 23, 2007 Author Share Posted January 23, 2007 Oh, i didnt know that, Could you explain how or post a link on how to create this?Thanks a lotDane Quote Link to comment Share on other sites More sharing options...
marcus Posted January 23, 2007 Share Posted January 23, 2007 For linux, you could just go (if you're using cpanel) go into your cpanel and hit Cron Jobs, and hit Standard, and it's pretty self-explanatory from there. Quote Link to comment Share on other sites More sharing options...
Daney11 Posted January 23, 2007 Author Share Posted January 23, 2007 Ok mate, thanks a lot. I will try it and see if i can get it working :)Again, thanks. Quote Link to comment 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.