Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
Thanks Ryan, but that failed to work as well.
tedd
--
Sorry to hear that, you might ask them to install CURL on your system along
with PEAR if you dont already have them, both are very very
[snip]
Sorry to hear that, you might ask them to install CURL on your system
along
with PEAR if you dont already have them, both are very very useful even
if
you dont need them right now. Not to be a jackass and repeat what others
have said but you might also want to look into other hosts who are
Jay said:
I know that you have searched Google for cPanel cron jobs and that lot's
of folks here have tried to help.
Where are you on this and can we help?
You guys have been Great!
At the moment, I sent a trouble ticket to my host -- I'll see what he
says, if anything.
Please don't
Hi:
Related to my cron problem -- where do you get the path to php? My
phpinfo() says:
http://www.xn--ovg.com/info.php
reports it as:
/usr/lib/php:/usr/local/lib/php
That can't be right, right? Or am I reading this wrong?
In any event, where's it at?
Thanks.
tedd
--
Looks like you have a unix machine, if you have a shell account you may be
able to use the command;
which php
to identify it's path.
hope this helps,
Warren Vail
At 10:45 AM 3/27/2006, tedd wrote:
Hi:
Related to my cron problem -- where do you get the path to php? My
phpinfo() says:
tedd wrote:
Hi:
Related to my cron problem -- where do you get the path to php? My
phpinfo() says:
http://www.xn--ovg.com/info.php
reports it as:
/usr/lib/php:/usr/local/lib/php
If you're on a linux box, have you tried which php?
--
PHP General Mailing List (http://www.php.net/)
Warren Vail said:
Looks like you have a unix machine, if you have a shell account you
may be able to use the command;
which php
to identify it's path.
John Meyer said:
If you're on a linux box, have you tried which php?
Where do I type in which php?
I'm dealing with a host account and
[snip]
Where do I type in which php?
[/snip]
At the command line on the host.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 1:19 PM -0600 3/27/06, Jay Blanchard wrote:
[snip]
Where do I type in which php?
[/snip]
At the command line on the host.
Aarrrg -- no disrespect meant.
I'm totally and absolutely clueless and frustrated. It must be my age
because I haven't seen a command line since my Apple][ days
[snip]
Aarrrg -- no disrespect meant.
I'm totally and absolutely clueless and frustrated. It must be my age
because I haven't seen a command line since my Apple][ days -- let
alone one while doing web work.
I'm sitting in front of my computer accessing my remote web site via
ftp (GoLive)
tedd wrote:
At 1:19 PM -0600 3/27/06, Jay Blanchard wrote:
[snip]
Where do I type in which php?
[/snip]
At the command line on the host.
Aarrrg -- no disrespect meant.
I'm totally and absolutely clueless and frustrated. It must be my age
because I haven't seen a command line since
ah, perhaps you don't have a shell account. With a shell account you would
telnet to the server and enter the which command on the command line right
after your prompt, once you were logged on.
try creating a file called which.php
have it contain the following;
?php
$result = exec(which
Dagnabit! Contact your host provider, they will tell you.
10 Been there
20 Done that
30 GOTO 10
Thanks anyway.
tedd
--
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I know nothing of cpanel, but if you can use cpanel to execute your
script, can you not use cpanel to say 'which php'??
HTH... Dusty
Dusty:
Nope, it doesn't appear to work that way.
Everything I've read thus far is that you must somehow enter the
exact command you would via a command line
On Monday 27 March 2006 12:31 pm, tedd wrote:
At 1:19 PM -0600 3/27/06, Jay Blanchard wrote:
[snip]
Where do I type in which php?
[/snip]
At the command line on the host.
Aarrrg -- no disrespect meant.
I'm totally and absolutely clueless and frustrated. It must be my age
because I
Dagnabit! Contact your host provider, they will tell you.
10 Been there
20 Done that
30 GOTO 10
Thanks anyway.
?PHP
if(!$host_provider_instructions){
echo If your host provider can't tell you how to connect to _their_
server, what makes you think someone in php_general will be
tedd wrote:
Warren Vail said:
Looks like you have a unix machine, if you have a
shell account you may be able to use the command;
which php
to identify it's path.
John Meyer said:
If you're on a linux box, have you tried which php?
Where do I type in which php?
I'm dealing with a
On 27 Mar 2006, at 20:47, tedd wrote:
Dagnabit! Contact your host provider, they will tell you.
10 Been there
20 Done that
30 GOTO 10
40 Gosub 'get decent web host'
Cheers,
Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services
--
PHP General Mailing List
try creating a file called which.php
have it contain the following;
?php
$result = exec(which php);
echo $result;
?
Upload it to your website and execute it in your browser. I
uploaded it to my RedHat Linux server and it showed the following;
/usr/local/bin/php
Warren:
Bingo -- that
Jay Blanchard wrote:
[snip]
Aarrrg -- no disrespect meant.
I'm totally and absolutely clueless and frustrated. It must be my age
because I haven't seen a command line since my Apple][ days -- let
alone one while doing web work.
I'm sitting in front of my computer accessing my remote
At 2:50 PM -0500 3/27/06, Jim Moseby wrote:
Dagnabit! Contact your host provider, they will tell you.
10 Been there
20 Done that
30 GOTO 10
Thanks anyway.
?PHP
if(!$host_provider_instructions){
echo If your host provider can't tell you how to connect to _their_
server, what
[snip]
/usr/local/bin/php
Now, to figure out what command I need to run a php script from there.
[/snip]
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
Now, you can do this one of two ways
17 8 * * * /usr/local/bin/php /path/to/your/script.php
Or you can add a bash line to the
At 2:50 PM -0500 3/27/06, Jim Moseby wrote:
Dagnabit! Contact your host provider, they will tell you.
10 Been there
20 Done that
30 GOTO 10
Thanks anyway.
?PHP
if(!$host_provider_instructions){
echo If your host provider can't tell you how to connect to _their_
server, what
[snip]
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
Now, you can do this one of two ways
17 8 * * * /usr/local/bin/php /path/to/your/script.php
Or you can add a bash line to the top of your file and then make sure to
have one blank line after the bash line
#!/usr/local/bin/php
[/clip]
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
Now, you can do this one of two ways
17 8 * * * /usr/local/bin/php /path/to/your/script.php
[/clip]
Now, I might be coming in a bit late here...but I have worked with cpanel
and using their simplified version of setting
Jim Moseby:
On second thought, I'm really not sorry to have brother you -- you
don't have to reply to any request for help on this list.
Two-Faced SOB - One minute you're sorry, the next you're not. Make up your
gd Mind.
Furthermore, I'm not asking you to provide me with how to connect
On 3/27/06, Rory Browne [EMAIL PROTECTED] wrote:
Jim Moseby:
On second thought, I'm really not sorry to have brother you -- you
don't have to reply to any request for help on this list.
Two-Faced SOB - One minute you're sorry, the next you're not. Make up your
gd Mind.
Two-Faced SOB - One minute you're sorry, the next you're not. Make up
your
gd Mind.
I'll add more to this tomorrow morning when I'm sober.
DAMN! I love this listother than two people on the list I think everyone
else is gonna have a smile on their faces.
My $0.2
:-p
--
PHP
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes it can be usefulyou should have CURL installed of
course.
The good thing about the above is it does not
Anthony Ettinger wrote:
In a related question, I have php5 installed on my box (works fine
with Apache2)...but I can't seem to find php5 on the command line.
Is there a separate package I need (fyi: I'm using Gentoo).
Enable the cli USE flag in either /etc/make.conf or
/etc/portage/package.use
On 3/27/06, Ryan A [EMAIL PROTECTED] wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes it can be usefulyou should have CURL installed of
I believe the command portion of your chron entry is /usr/local/bin/php
/full/path/to/myscript.php (separated by a space)
My Cpanel allows two methods scheduling (updating cron.tab file), if you
are using the unix option, you have the ability to schedule the execution
at a certain time of
On 3/27/06, Anthony Ettinger [EMAIL PROTECTED] wrote:
On 3/27/06, Ryan A [EMAIL PROTECTED] wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes
At 11:26 PM +0200 3/27/06, Ryan A wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes it can be usefulyou should have CURL installed of
course.
The
tedd wrote:
At 11:26 PM +0200 3/27/06, Ryan A wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes it can be usefulyou should have CURL installed
At 12:45 PM +1100 3/28/06, Chris wrote:
tedd wrote:
At 11:26 PM +0200 3/27/06, Ryan A wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes it can be
tedd wrote:
At 12:45 PM +1100 3/28/06, Chris wrote:
tedd wrote:
At 11:26 PM +0200 3/27/06, Ryan A wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but
37 matches
Mail list logo