I have a php script that has been triggered by my hoster's cron
process(?) to run once a day since last March. It's been running fine -
and I've made no changes to it. Suddenly in the last couple of days it
is running twice it seems. The whole process sends an email at its
conclusion and
On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
I have a php script that has been triggered by my hoster's cron process(?)
to run once a day since last March. It's been running fine - and I've made
no changes to it. Suddenly in the last couple of days it is
On 10/23/2012 4:56 PM, Daniel Brown wrote:
On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
I have a php script that has been triggered by my hoster's cron process(?)
to run once a day since last March. It's been running fine - and I've made
no changes to it.
On Tue, Oct 23, 2012 at 4:59 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
Yes - same msg same time
If it wouldn't be a problem, can you provide the script here (or
on a site like Pastebin), as well as the crontab time entry for this?
While checking the crontab, make sure a duplicate
On Tue, 2012-10-23 at 16:59 -0400, Jim Giner wrote:
On 10/23/2012 4:56 PM, Daniel Brown wrote:
On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner jim.gi...@albanyhandball.com
wrote:
I have a php script that has been triggered by my hoster's cron process(?)
to run once a day since last March.
On Tue, 2012-10-23 at 17:12 -0400, Jim Giner wrote:
On 10/23/2012 5:19 PM, Ashley Sheridan wrote:
On Tue, 2012-10-23 at 16:59 -0400, Jim Giner wrote:
On 10/23/2012 4:56 PM, Daniel Brown wrote:
On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner
jim.gi...@albanyhandball.com
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
Crontab is the daemon which runs cron jobs, and some distros have set up
special files called cron.daily (or daily.cron I don't recall),
cron.hourly, etc to make it easier to schedule jobs.
Quick
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
Crontab is the daemon which runs cron jobs, and some distros have set up
special files called cron.daily (or daily.cron I don't
On 10/23/2012 6:18 PM, David OBrien wrote:
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
Crontab is the daemon which runs cron jobs, and some distros have set up
special files called
On Tue, 2012-10-23 at 18:36 -0400, Jim Giner wrote:
On 10/23/2012 6:18 PM, David OBrien wrote:
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
Crontab is the daemon which runs
On 10/23/2012 6:57 PM, Ashley Sheridan wrote:
On Tue, 2012-10-23 at 18:36 -0400, Jim Giner wrote:
On 10/23/2012 6:18 PM, David OBrien wrote:
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan
a...@ashleysheridan.co.uk
On Tue, 2012-10-23 at 18:51 -0400, Jim Giner wrote:
On 10/23/2012 6:57 PM, Ashley Sheridan wrote:
On Tue, 2012-10-23 at 18:36 -0400, Jim Giner wrote:
On 10/23/2012 6:18 PM, David OBrien wrote:
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Oct 23, 2012
Use PHP threads. Do the job separately.. in parts... in other words... you
can't read all them at once.
You can read a little more about php multithreading here:
http://blog.motane.lu/2009/01/02/multithreading-in-php/
You can use a non-relational database like mongo or couchdb to manage where
Other good point is: always set a timeout connection when you're getting the
RSS data to avoid your thread get stuck unnecessary. Use cURL (is much more
faster then file_get_contents).
Multithreading in PHP with cURL http://devzone.zend.com/article/3341
Regards,
Igor Escobar
*Software Engineer
On Mon, Sep 12, 2011 at 9:37 AM, Igor Escobar titiolin...@gmail.com wrote:
Other good point is: always set a timeout connection when you're getting the
RSS data to avoid your thread get stuck unnecessary. Use cURL (is much more
faster then file_get_contents).
Multithreading in PHP with cURL
@Eric ok ;)
Regards,
Igor Escobar
*Software Engineer
*
+ http://blog.igorescobar.com
+ http://www.igorescobar.com
+ @igorescobar http://www.twitter.com/igorescobar
On Mon, Sep 12, 2011 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote:
On Mon, Sep 12, 2011 at 9:37 AM, Igor Escobar
I want to design an application that reads news from RSS sources.
I have about 1000 RSS feed to collect from.
I also will use Cron jobs every 15 minutes to collect the data.
the question is: Is there a clever way to collect all those feed items
without exhausting the server
any Ideas
Thank you in
On Sat, Sep 10, 2011 at 4:35 AM, muad shibani muad.shib...@gmail.comwrote:
I want to design an application that reads news from RSS sources.
I have about 1000 RSS feed to collect from.
I also will use Cron jobs every 15 minutes to collect the data.
the question is: Is there a clever way to
I want to design an application that reads news from RSS sources.
I have about 1000 RSS feed to collect from.
I also will use Cron jobs every 15 minutes to collect the data.
the question is: Is there a clever way to collect all those feed items
without exhausting the server
any Ideas
Thank
thanks a lot after I test it I will share the code .. Thanks again
On Sat, Sep 10, 2011 at 11:20 AM, Gary Golden m...@garygolden.me wrote:
I want to design an application that reads news from RSS sources.
I have about 1000 RSS feed to collect from.
I also will use Cron jobs every 15
On Sat, Sep 10, 2011 at 1:47 PM, Sean Greenslade zootboys...@gmail.com wrote:
On Sat, Sep 10, 2011 at 4:35 AM, muad shibani muad.shib...@gmail.comwrote:
I want to design an application that reads news from RSS sources.
I have about 1000 RSS feed to collect from.
I also will use Cron jobs
On 10 Sep 2011, at 09:35, muad shibani wrote:
I want to design an application that reads news from RSS sources.
I have about 1000 RSS feed to collect from.
I also will use Cron jobs every 15 minutes to collect the data.
the question is: Is there a clever way to collect all those feed items
On Mon, Sep 29, 2008 at 9:34 AM, Richard Lynch [EMAIL PROTECTED] wrote:
If you are running PHP as CGI, replacing the CGI with CLI could be
problematic down the road...
Right, and I am, so I stayed away from that solution. My next attempt was
to specify /usr/local/bin/php in the cron job,
Waynn Lue wrote:
Right, and I am, so I stayed away from that solution. My next
attempt was to specify /usr/local/bin/php in the cron job, but that
led to a problem because of the include paths. Now that I specific
the full path, evidently the include path no longer is relative to the
Oh, I thought having one for cgi and one for cli was common. Do people
generally run only one, regardless of whether they're hitting it from
a webserver or running it from the commandline?
Thanks,
Waynn
On 10/1/08, Per Jessen [EMAIL PROTECTED] wrote:
Waynn Lue wrote:
Right, and I am, so I
Waynn Lue wrote:
Oh, I thought having one for cgi and one for cli was common. Do people
generally run only one, regardless of whether they're hitting it from
a webserver or running it from the commandline?
I think the general setup is a php cli executable in /usr/bin/php and
the php apache
Shawn McKenzie wrote:
Waynn Lue wrote:
Yup, you're completely right. I checked the cronjob and got this:
PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced PHP Debugger (APD)
Waynn Lue wrote:
Yup, you're completely right. I checked the cronjob and got this:
PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced PHP Debugger (APD) v0.9, , by George
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Waynn Lue wrote:
Yup, you're completely right. I checked the cronjob and got this:
PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced
If you are running PHP as CGI, replacing the CGI with CLI could be problematic
down the road...
From: Waynn Lue [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 28, 2008 6:12 AM
To: Richard Lynch
Cc: Per Jessen; php-general@lists.php.net
Subject: Re: [PHP] PHP + Cron jobs
Yup, you're
On Mon, Sep 29, 2008 at 11:59 AM, Nathan Rixham [EMAIL PROTECTED] wrote:
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Waynn Lue wrote:
Yup, you're completely right. I checked the cronjob and got this:
PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32)
Copyright (c) 1997-2008 The PHP Group
Yup, you're completely right. I checked the cronjob and got this:
PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle
Turns out
This is something that I've noticed for awhile, but last post to this
mailing list reminded me that someone probably already knows how to work
around this! I have a cron job that looks something like
12 6 * * * php /home/foo/temp.php
But even if temp.php doesn't output anything, I still get
Waynn Lue wrote:
This is something that I've noticed for awhile, but last post to this
mailing list reminded me that someone probably already knows how to
work
around this! I have a cron job that looks something like
12 6 * * * php /home/foo/temp.php
But even if temp.php doesn't output
This is something that I've noticed for awhile, but last post to this
mailing list reminded me that someone probably already knows how to
work
around this! I have a cron job that looks something like
12 6 * * * php /home/foo/temp.php
But even if temp.php doesn't output anything,
Waynn Lue wrote:
I actually am using MAILTO, and that's where the problem is. A
cronjob only mails when there actually is output, which I'm fine with.
In fact, when I run php temp.php from the command line, I don't get
any output. But when it's part of the cronjob, there's that
Hm looks like it's CLI.
$ php -v
PHP 5.2.6 (cli) (built: Aug 11 2008 13:36:00)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle
Waynn Lue wrote:
Hm looks like it's CLI.
$ php -v
PHP 5.2.6 (cli) (built: Aug 11 2008 13:36:00)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle
Yep, looks good - check
O/H Waynn Lue ??:
This is something that I've noticed for awhile, but last post to this
mailing list reminded me that someone probably already knows how to work
around this! I have a cron job that looks something like
12 6 * * * php /home/foo/temp.php
But even if temp.php doesn't output
.
From: Waynn Lue [EMAIL PROTECTED]
Sent: Saturday, September 27, 2008 4:21 AM
To: PHP General list
Subject: [PHP] PHP + Cron jobs
This is something that I've noticed for awhile, but last post to this
mailing list reminded me that someone probably already knows
From: Waynn Lue [EMAIL PROTECTED]
Sent: Saturday, September 27, 2008 6:04 AM
To: Per Jessen
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP + Cron jobs
This is something that I've noticed for awhile, but last post to this
mailing list reminded me
___
O/H Waynn Lue ??:
Perhaps this would do the job much better.
12 6 * * * php -f /home/foo/temp.php
Probably no different, unless the new-fangled -f implies -q, and he's running
the new version of PHP, which I doubt.
Also consider an alternative
Hi there,
I would like to run a php file via cron job and there is a parameter to
be passed. Unfortunatelly this does not work:
# /usr/local/bin/php /home/www/create_notification_emails.php?tf=2
Could not open input file: /home/www/create_notification_emails.php?tf=2
The problem seems to be
Merlin Morgenstern wrote:
Hi there,
I would like to run a php file via cron job and there is a parameter
to be passed. Unfortunatelly this does not work:
# /usr/local/bin/php /home/www/create_notification_emails.php?tf=2
Could not open input file:
Merlin Morgenstern schreef:
Hi there,
I would like to run a php file via cron job and there is a parameter to
be passed. Unfortunatelly this does not work:
# /usr/local/bin/php /home/www/create_notification_emails.php?tf=2
Could not open input file:
Hello Jochem,
thank you this has solved my problem:
bla.php 2
$tf = $argv[1];
Best regards,
Merlin
Jochem Maas wrote:
Merlin Morgenstern schreef:
Hi there,
I would like to run a php file via cron job and there is a parameter to
be passed. Unfortunatelly this does not work:
#
On Thu, Sep 25, 2008 at 6:34 AM, Merlin Morgenstern
[EMAIL PROTECTED] wrote:
Hello Jochem,
thank you this has solved my problem:
bla.php 2
$tf = $argv[1];
Conversely, on a *NIX system, if you want to grab it via the web -
locally or from a remote server - you can do this:
* * * * *
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or thousands
of users, I've designed it so that e-mail notifications are saved to a
MySQL table. Then a regular cron job runs a php page to select the data
from the
Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or
thousands of users, I've designed it so that e-mail notifications are
saved to a MySQL table. Then a regular cron job runs a php page to
select the
On Sunday 20 April 2008 11:27:38 Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or thousands
of users, I've designed it so that e-mail notifications are saved to a
MySQL table. Then a regular cron
Per Jessen wrote:
Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or
thousands of users, I've designed it so that e-mail notifications are
saved to a MySQL table. Then a regular cron job runs a php
Jeffrey wrote:
Per Jessen wrote:
Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or
thousands of users, I've designed it so that e-mail notifications
are saved to a MySQL table. Then a regular
Børge Holen wrote:
Is the MTA operational on the server? if so, forget
mailing with php and rather use php to access the mta.
Yeah, that is what mail() does - it calls sendmail.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Sunday 20 April 2008, Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or thousands
of users, I've designed it so that e-mail notifications are saved to a
MySQL table. Then a regular cron job runs a
On Sun, 2008-04-20 at 13:32 -0500, Larry Garfield wrote:
On Sunday 20 April 2008, Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or thousands
of users, I've designed it so that e-mail
On Sunday 20 April 2008 13:37:04 Per Jessen wrote:
Børge Holen wrote:
Is the MTA operational on the server? if so, forget
mailing with php and rather use php to access the mta.
Yeah, that is what mail() does - it calls sendmail.
/Per Jessen, Zürich
What the point of 50 mails now and
Hi,
I need to be able to do the following procedure;
retrieve all items from a mysql db table, then check to see if the files from
that table exist on the server (images), if not, to clean up and remove the
physical file - so that only the files from the db exist.
This will run via cron
Has
Do you already have some code? Do you got stuck somewhere?
No, i didnt even know where to start with the flow; but sitting on the toilet
produces wonderfull ideas!
I have the following in mind; list the entire directory into an array, using a
foreach to check on the db if the file exists,
Steven Macintyre wrote:
Do you already have some code? Do you got stuck somewhere?
No, i didnt even know where to start with the flow; but sitting on the toilet
produces wonderfull ideas!
What makes sitting on a toilet any difference than sitting anywhere
else? Is it a magic
Steven Macintyre wrote:
Hi,
I need to be able to do the following procedure;
retrieve all items from a mysql db table, then check to see if the files from that table
exist on the server (images), if not, to clean up and remove the physical
file - so that only the files from the db exist.
Steven Macintyre wrote:
retrieve all items from a mysql db table, then check to see if the
files from that table exist on the server (images), if not, to clean
up and remove the physical file - so that only the files from the db
exist.
When you are comparing the contents of disk vs. db, you
I handle your object a different and, I believe, a simpler way.
Instead of a cronjob, I call a cleanup function whenever a page is opened.
Obviously, this approach requires a time overhead and thus is not good for very
high volume sites. You can mitigate this drawback by maintaining a simple
At 9:35 AM +0100 3/13/08, Steven Macintyre wrote:
Hi,
I need to be able to do the following procedure;
retrieve all items from a mysql db table, then check to see if the
files from that table exist on the server (images), if not, to
clean up and remove the physical file - so that only the
Steven Macintyre wrote:
Hi,
I need to be able to do the following procedure;
retrieve all items from a mysql db table, then check to see if the files from
that table exist on the server (images), if not, to clean up and remove the
physical file - so that only the files from the db
On Thu, 10 Aug 2006 16:41:38 -0500, Richard Lynch wrote:
On Wed, August 9, 2006 3:14 am, Ivo F.A.C. Fokkema wrote:
SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the
PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure
about
other distros.
Probably
On Wed, August 9, 2006 3:14 am, Ivo F.A.C. Fokkema wrote:
SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the
PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure
about
other distros.
Probably because the PATH to the GTK.so file is not absolute in your
On Tue, 08 Aug 2006 17:01:13 +0200, Arno Kuhl wrote:
Is there anything in your error log that says why it failed? (whatever
error_log points to in php.ini, or maybe what ErrorLog points to in
httpd.conf)
Arno
Hi Arno, thanks for your reply.
However, the PHP-cli binary doesn't use the
On Tue, 08 Aug 2006 17:07:29 +0200, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 10:01:41 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 09:01, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Hi guys,
I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed soon :)
Suddenly my backup scripts die with the error Could not startup.. Only
through the cron, it runs fine through the console. I've tried
Ivo F.A.C. Fokkema wrote:
Hi guys,
I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed soon :)
Suddenly my backup scripts die with the error Could not startup.. Only
through the cron, it runs fine
To: php-general@lists.php.net
Subject: Re: [PHP] Cron running 'Hello world' script dies with Could not
startup.
Ivo F.A.C. Fokkema wrote:
Hi guys,
I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed
On Tue, 08 Aug 2006 09:10:53 -0400, John Nichel wrote:
Ivo F.A.C. Fokkema wrote:
Suddenly my backup scripts die with the error Could not startup.. Only
through the cron, it runs fine through the console. I've tried all kinds
of tests with other PHP scripts, tried a different PC, asked my
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Does the user running the cron have permission to execute the php binary?
Yes, the file's owner is me and it's my crontab. Also, I've made the file
readable to all, just in case. All directories up the directory tree are
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Does the user running the cron have permission to execute the php binary?
Yes, the file's owner is me and it's my crontab. Also, I've made the file
readable to all, just in case.
On Tue, 08 Aug 2006 07:28:43 -0600, Jef Sullivan wrote:
Here is the cron command that we use. I've modified the path to the file for
security purposes.
*/5 * * 1-6 lynx -dump http://fully.qualified.path/cron_test.php
-auth=usr:pwd
Jef
Thanks for the reply.
However, your example is not
On Tuesday 08 August 2006 09:01, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Does the user running the cron have permission to execute the php
binary?
Yes, the file's owner is me and it's my
Subject: [PHP] Cron running 'Hello world' script dies with Could not
startup.
Hi guys,
I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed soon :)
Suddenly my backup scripts die with the error Could not startup
On Tue, 08 Aug 2006 10:01:41 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 09:01, Ivo F.A.C. Fokkema wrote:
On Tue, 08 Aug 2006 09:01:42 -0500, Ray Hauge wrote:
On Tuesday 08 August 2006 08:47, Ivo F.A.C. Fokkema wrote:
Does the user running the cron have permission to execute the php
Hi gang:
Well my host responded with a very helpful reply to my request for
help, he said:
-- quote --
Ok corn jobs is working on server. But my host says there is
something wrong with the script.
-Have a great day
-- un-quote --
Now, it should be clear to everyone what the problem was --
Hi gang:
In cPanel one can schedule cron jobs.
In the command line box, what command do you enter to run a php script?
Thanks.
tedd
--
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To
tedd wrote:
Hi gang:
In cPanel one can schedule cron jobs.
In the command line box, what command do you enter to run a php script?
Same way you run any other app. If it's in your path, you can just type
the filename of the app, if not, give it the path...
phpscript.php
tedd wrote:
In cPanel one can schedule cron jobs.
In the command line box, what command do you enter to run a php script?
John answered:
Same way you run any other app. If it's in your path, you can just
type the filename of the app, if not, give it the path...
phpscript.php
tedd wrote:
tedd wrote:
In cPanel one can schedule cron jobs.
In the command line box, what command do you enter to run a php script?
John answered:
Same way you run any other app. If it's in your path, you can just
type the filename of the app, if not, give it the path...
phpscript.php
Somewhat OT...
Okay, maybe a lot OT...
I have these cron jobs on a computer, and I want the email output from them.
But I don't want sendmail running 24/7, and when it does run, I'd just as
soon it *ONLY* processed email and sent it out, without even opening up
port 25 and listening.
I guess
I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job on a PHP prog?
Russ Jones
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
-general@lists.php.net
Sent: Sunday, January 16, 2005 6:00 PM
Subject: [PHP] cron job style php...
I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job
I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job on a PHP prog?
It can, and run basically like any other shell script.
The first line needs
On Sun, 2005-01-16 at 17:00, Russell P Jones wrote:
I have written a simple script that when a date in an array matches todays
date, it sends an email (notifies me when bills are due). Any ideas on how
to make this run once a day? Can you do a cron job on a PHP prog?
Russ Jones
Never tried
Check out here - http://www.htmlcenter.com/tutorials/tutorials.cfm/155/php/
and here -
http://www.phpfreaks.com/tutorials/28/0.php
and if you want to read about my learning with cron try here -
http://www.khankennels.com/blog/index.php?p=103
Hope it all helps.
Respectfully,
Ligaya Turmelle
Russell
Hey guys. I was wondering if anyone knows how to go about creating a cron
job using vDeck (that's what is installed on the server) that just accesses
a PHP file and runs everything in the PHP file. Does anyone know how to go
about doing something like this?
Thanks,
Matt
http://sweetphp.com
--
Hi there,
I am trying to install following cron job:
0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php
The script works, if I run this php /home... line manually it works out, but
it does not automaticaly at 6 am as supposed.
I do also see in /var/log/messages that the cron job
[snip]
I am trying to install following cron job:
0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php
The script works, if I run this php /home... line manually it works
out, but
it does not automaticaly at 6 am as supposed.
I do also see in /var/log/messages that the cron job
On Thursday 20 May 2004 11:35 am, Jay Blanchard wrote:
At the command line type which php and it will return the full path to
php. Modify your line in the crontab with the full path...
0 6 * * * /usr/local/bin/php
/home/www/project/app_cron/follow_up_new_members.php
I always put the
It looks like that cron line is making it so that the command runs as the
user php...
so, you should check if that user has permission to run the script.
Tim.
At 08:33 AM 5/20/2004, Merlin wrote:
Hi there,
I am trying to install following cron job:
0 6 * * * php
Hello all,
Ok, I run php as an apache module but need to have some php scripts called
from a cron. Since you can't have php installed as a cgi apache module I
don't know how to do this.
Any help would be appreciated.
TIA
Daryl Meese
--
PHP General Mailing List (http://www.php.net/)
To
On Wednesday 17 March 2004 11:03, Daryl Meese wrote:
Hello all,
Ok, I run php as an apache module but need to have some php scripts called
from a cron. Since you can't have php installed as a cgi apache module I
don't know how to do this.
Any help would be appreciated.
TIA
Daryl
Daryl Meese wrote on woensdag 17 maart 2004 12:04:
Hello all,
Ok, I run php as an apache module but need to have some php scripts
called from a cron. Since you can't have php installed as a cgi
apache module I don't know how to do this.
Any help would be appreciated.
TIA
Daryl
On Wed, 2004-03-17 at 06:03, Daryl Meese wrote:
Hello all,
Ok, I run php as an apache module but need to have some php scripts called
from a cron. Since you can't have php installed as a cgi apache module I
don't know how to do this.
Possibly you can't have PHP configured in Apache as a
Thijs Lensselink wrote on woensdag 17 maart 2004 12:17:
Daryl Meese wrote on woensdag 17 maart 2004 12:04:
Hello all,
Ok, I run php as an apache module but need to have some php scripts
called from a cron. Since you can't have php installed as a cgi
apache module I don't know how to
Hi all
there is a bit of a problem with running cron scripts on our server and i
would appreciate any help from the unix gurus.
The story: I have created a script in the cron dir that runs a php file that
sends auto emails. (The script is working fine when we run it through the
command line, so
1 - 100 of 165 matches
Mail list logo