|
Posted by Jonathan Wiltshire on 11/18/28 11:41
"enko" <mbyrd1332@gmail.com> wrote in message
news:1141409357.429781.247610@e56g2000cwe.googlegroups.com...
> We're going to be upgrading to a
> dedicated server within a few months and surely there is a way for the
> server to automatically run a php script at regular intervals? Maybe
> I'm just looking for the most difficult solution, but any help would be
> appreciated.
Once you've got your dedicated server, the daemon you want it called crond
if it's
Linux, or the Task Scheduler if it's Windows. Either way, you need to call
'php myscript.php'.
However, make sure your script doesn't expect to use Apache/IIS-specific
stuff, or
PHP will bail out.
If you speak very nicely with your hosts, they might set this up for you
temporarily now,
on the grounds that you're going to upgrade to a dedicated server soon
anyway.
Jon
[Back to original message]
|