![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 3
![]() |
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? Last edited by Writlaus; Jul 10th, 2007 at 9:59 PM. |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Sounds like a cron job. Whether you have the permissions for that is problematic.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
if the platform is windows, you can look into a scheduled task, otherwise a cronjob would suffice.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 149
Rep Power: 3
![]() |
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.
|
|
|
|
|
|
#5 |
|
Sexy Programmer
|
I would contact them about it. See if you have that type of permissions on your host server.
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows batch file script | chronosoft | Other Scripting Languages | 6 | Oct 10th, 2006 9:43 AM |
| A simple perl script | satimis | Perl | 3 | Aug 15th, 2005 9:31 AM |
| Filename expansion problems in script | msalowit | Bash / Shell Scripting | 1 | Apr 15th, 2005 10:21 AM |
| Bash Script Help | pelon | Bash / Shell Scripting | 2 | Feb 28th, 2005 3:58 PM |