Re: Need to Run a PHP script using CRON or ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux