September 26th, 2000, 02:23 PM
I was wanting to have the server that is hosting my site run a php3 program at a certain time and day. If I was a perl expert, I am sure I could have written it in perl, but since I am not, can php3 be invoked without a webpage?
September 26th, 2000, 07:56 PM
1) Click the "search" link found on this page
2) Type "cron" as "Search Words:"
3) Click Perform Search
September 27th, 2000, 02:52 AM
Add a cron entry with lynx.
* * * * * lynx -dump http://www.somepage.com/
E-mail me at: email@example.com
September 28th, 2000, 10:01 PM
is it possible to cron a php script that is above the document root?
September 29th, 2000, 03:26 PM
../ will go up a directory..
If you have a file /asdf/jkl/somefile.pl and you want to get the file /jkl/file.txt you can use this: ../../jkl/file.txt
September 30th, 2000, 02:04 AM
what i mean though is that i don't think that using lynx to run a php script that is above the document root will work because the webserver will not serve this page because it is above the document root
September 30th, 2000, 02:07 AM
That's why you should be using cgi for this .
September 30th, 2000, 12:15 PM
my thoughts exactly, cgi seems the only way possible if you want to run scripts that are above the document root