Re: [PHP] Running a PHP script everyday

2005-08-02 Thread Rory Browne
On 8/1/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] What is the -q for? I can't find any documentation on it. If I do a php -h or man php, it is not listed. I am running php 5.0.3 on RHEL ES 4 [/snip] It means 'quiet'...in other words do not send anything to standard out. I'm open

Re: [PHP] Running a PHP script everyday

2005-08-01 Thread André Medeiros
Shit shit shit!!! I completelly forgot! #!/usr/local/bin/php -q Notice the -q, it's important. Sorry :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running a PHP script everyday

2005-08-01 Thread Steve Buehler
At 04:54 AM 8/1/2005, you wrote: Shit shit shit!!! I completelly forgot! #!/usr/local/bin/php -q Notice the -q, it's important. Sorry :( What is the -q for? I can't find any documentation on it. If I do a php -h or man php, it is not listed. I am running php 5.0.3 on RHEL ES 4 Thanks

RE: [PHP] Running a PHP script everyday

2005-08-01 Thread Jay Blanchard
[snip] What is the -q for? I can't find any documentation on it. If I do a php -h or man php, it is not listed. I am running php 5.0.3 on RHEL ES 4 [/snip] It means 'quiet'...in other words do not send anything to standard out. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Running a PHP script everyday

2005-08-01 Thread John Nichel
Steve Buehler wrote: At 04:54 AM 8/1/2005, you wrote: Shit shit shit!!! I completelly forgot! #!/usr/local/bin/php -q Notice the -q, it's important. Sorry :( What is the -q for? I can't find any documentation on it. If I do a php -h or man php, it is not listed. I am running php

Re: [PHP] Running a PHP script everyday

2005-08-01 Thread tg-php
Don't forget also that if you're running on a Windows platform, you can use the php-win.exe to avoid having any console window appear at all. -TG = = = Original message = = = Steve Buehler wrote: At 04:54 AM 8/1/2005, you wrote: Shit shit shit!!! I completelly forgot!

Re: [PHP] Running a PHP script everyday [SOLVED]

2005-08-01 Thread Jochem Maas
as it works heh! :-) do that anyways. Thanks for all your help. Andrew Darrow Kronos1 Productions www.pudlz.com - Original Message - From: Miles Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-general@lists.php.net Sent: Saturday, July 30, 2005 5:57 PM Subject: Re: [PHP] Running a PHP

RE: [PHP] Running a PHP script everyday

2005-08-01 Thread Steve Buehler
At 09:56 AM 8/1/2005, you wrote: [snip] What is the -q for? I can't find any documentation on it. If I do a php -h or man php, it is not listed. I am running php 5.0.3 on RHEL ES 4 [/snip] It means 'quiet'...in other words do not send anything to standard out. Thank You. I guess they are

Re: [PHP] Running a PHP script everyday [SOLVED]

2005-07-31 Thread sub
for all your help. Andrew Darrow Kronos1 Productions www.pudlz.com - Original Message - From: Miles Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-general@lists.php.net Sent: Saturday, July 30, 2005 5:57 PM Subject: Re: [PHP] Running a PHP script everyday If you're on Windows, use

[PHP] Running a PHP script everyday

2005-07-30 Thread sub
I have a PHP script that I need to run once a day. I have it currently setup so that I just run it from my cell phone, but I would prefer something automated. I'd looked into a cron job, but that just looks like it's for doing linux command line stuff on my host. I also thought about writing a

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread James Kaufman
On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have it currently setup so that I just run it from my cell phone, but I would prefer something automated. I'd looked into a cron job, but that just looks like it's for doing

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread sub
, 2005 10:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have it currently setup so that I just run it from my cell phone, but I would prefer something automated. I'd

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread Matt Darby
Sent: Saturday, July 30, 2005 10:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have it currently setup so that I just run it from my cell phone, but I would

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread André Medeiros
PROTECTED] To: php-general@lists.php.net Sent: Saturday, July 30, 2005 10:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have it currently setup so that I just

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread Rory Browne
- From: James Kaufman [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, July 30, 2005 10:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread M Saleh EG
Message - From: James Kaufman [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, July 30, 2005 10:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread Ryan Grange
Kaufman [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, July 30, 2005 10:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread sub
@lists.php.net Sent: Saturday, July 30, 2005 10:35 AM Subject: Re: [PHP] Running a PHP script everyday You can cron the script to run. Do the following: 1) Add #!/usr/bin/php as the first line on your .php file. If /usr/bin/php isn't where your php binary lives, type whereis php to find out 2

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread Robert Cummings
On Sat, 2005-07-30 at 18:21, [EMAIL PROTECTED] wrote: I can't figure out how to get into command line access through my webhost. I've tried telnet and it fails. My host uses cPanel. When I setup the crontab it e-mails me back this response: /bin/sh: public_html/wap/mailer/dailylist.php:

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread Miles Thompson
:07 AM Subject: Re: [PHP] Running a PHP script everyday On Sat, Jul 30, 2005 at 09:17:20AM -0700, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I have it currently setup so that I just run it from my cell phone, but I would prefer something

Re: [PHP] Running a PHP script everyday

2005-07-30 Thread Miles Thompson
If you're on Windows, use Task Manager and have it start an instance of a web browser, with your URL and script passed to it. or Cron job on server, if you have that level of access. Miles At 01:17 PM 7/30/2005, [EMAIL PROTECTED] wrote: I have a PHP script that I need to run once a day. I