Re: Need to Run a PHP script using CRON or ?
| From: | CPT John W. Holmes | Date: | Mon, 15 Sep 2003 20:46:46 +0000 |
| Subject: | Re: Need to Run a PHP script using CRON or ? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30513@lists.php.net to get a copy of this message | ||
From: "Ryan Marks" <ryan@bestdriverjobs.com>
> Not necessarily. You can wget /path/to/file.php or my personal preference
> is not to use wget, but php directly
> /path/to/php/executable /path/to/file.php
Are you sure about that? I thought wget had to go through HTTP?
This didn't work for me, am I doing it wrong?
$ ls
cpanel3-skel mail public_html tmp
cpanelbranding public_ftp test.php www
$ wget test.php
--16:42:22-- http://test.php/
=> `index.html'
Resolving test.php... failed: No address associated with hostname.
---John Holmes...