El Lun 15 Sep 2003 17:47, Jonathan Villa escribió:
I believe this would need php to installed as a cgi, which I prefer not
to do...
If you don't want to because of security resons, please install it and don't
leave it in the hands of the web server.
If you don't want to go through the problem
From: Jonathan Villa [EMAIL PROTECTED]
I have an application which creates temporary tables. My plan is to
remove them after a 24 hour period and only those which are have a
created time greater than 24 hours. That part I can do, my question is
how will I be able to run this script which
Interesting... how does this fair concerning security? So I'll have to
have this file located in my document root, is this a good thing? My
current directory structure consists of several files located outside
the doc root. I guess I could always include it onto a page
On Mon, 2003-09-15 at
From: Jonathan Villa [EMAIL PROTECTED]
wget -q -O - www.domain.com/cron.php /dev/null
Interesting... how does this fair concerning security? So I'll have to
have this file located in my document root, is this a good thing? My
current directory structure consists of several files located
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Need to Run a PHP script using CRON or ?
Interesting... how does this fair concerning security? So I'll have to
have this file located in my document root, is this a good thing? My
current directory structure consists of several files located outside
From: Ryan Marks [EMAIL PROTECTED]
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
a thought,
Ryan
-Original Message-
From: Jonathan Villa [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Need to Run a PHP script using CRON or ?
Interesting... how does this fair concerning security? So I'll have
] Need to Run a PHP script using CRON or ?
From: Ryan Marks [EMAIL PROTECTED]
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
--On Monday, September 15, 2003 15:27:45 -0500 Jonathan Villa
[EMAIL PROTECTED] wrote:
Interesting... how does this fair concerning security? So I'll have to
have this file located in my document root, is this a good thing? My
current directory structure consists of several files located
Goto your shell and type php -i w/o the quotes. You should see the
phpinfo() output. You can pass the path to your script as a command line
variable, and it will process it. Here, read about it, I think this is
the right answer for you: http://us3.php.net/features.commandline
Matt
On Mon,
- Original Message -
From: Pat Lashley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 5:12 PM
Subject: Re: [PHP-DB] Need to Run a PHP script using CRON or ?
--On Monday, September 15, 2003 15:27:45 -0500 Jonathan Villa
[EMAIL PROTECTED
11 matches
Mail list logo