|
Posted by d on 10/29/15 11:41
"Jonathan Wiltshire" <news@jwiltshire.org.uk> wrote in message
news:AS1Of.70291$m13.60862@newsfe5-gui.ntli.net...
>
> "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.
Provided the new server is with them :-P
> Jon
>
[Back to original message]
|