Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Web Development Languages (http://www.programmingforums.org/forum40.html)
-   -   regular calls to a script (http://www.programmingforums.org/showthread.php?t=13523)

Writlaus Jul 10th, 2007 10:45 PM

regular calls to a script
 
I have gotten to a point in a project where I need the server to run a script (ideally in php, because that's what I know) at regular intervals (like every hour, or less if possible).

How do I go about that? Is it just as simple as, either the hosting company offers that service or it doesn't? Edit: And if it is just the hosting company, can anyone suggest a good hosting company that's either free or cheap, and offers that?

DaWei Jul 10th, 2007 11:16 PM

Sounds like a cron job. Whether you have the permissions for that is problematic.

Infinite Recursion Jul 11th, 2007 12:17 AM

if the platform is windows, you can look into a scheduled task, otherwise a cronjob would suffice.

Writlaus Jul 11th, 2007 12:20 AM

I read a bit about cron, and it seems to be what I'm looking for. But I can't find anything about it on the support pages of my current hosting company.

ReggaetonKing Jul 11th, 2007 12:31 AM

I would contact them about it. See if you have that type of permissions on your host server.


All times are GMT -5. The time now is 2:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC