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
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 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
Is there a way to run a script (to check a table for new fields, or to
check time..etc) evrey few hours, without using programes souch as
crontab.
Paul
GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
Is there a way to run a script (to check a table for new fields, or to
check time..etc) evrey few hours, without using programes souch as
crontab.
[/snip]
You could run a looping script with a sleep statement in it, not a good
idea though.
Jay
--
PHP General Mailing List
Hello,
This is a reply to an e-mail that you wrote on Tue, 17 Jun 2003 at 17:59,
lines prefixed by '' were originally written by you.
Is there a way to run a script (to check a table for new fields, or to
check time..etc) evrey few hours, without using programes souch as
crontab.
Paul
GnuPG
Is there a way to run a script (to check a table for new fields, or to
check time..etc) evrey few hours, without using programes souch as
crontab.
In addition to what others have said, you don't _have_ to set up the cron
job (or any scheduled job) on the same computer as your scripts. If you
Hello All,
I need to ask you about some resources for cron jobs. Please suggest
some online help
Thanks
Pushpinder Singh Garcha
_
Web Architect
Do a search at google for cron jobs tutorial...
http://www.google.com/search?q=cron+job+tutorials
That should give you lots to read... :)
--
Ray
On Wed, 2003-02-19 at 13:36, Pushpinder Singh Garcha wrote:
Hello All,
I need to ask you about some resources for cron jobs. Please suggest
MAAS wrote:
What do I have to do before I can run my file.php as a cron job in Linux?
What problem do you have? I have no problems with it calling it as php
myfile.php
--
Best Regards.
--
QaDRAM Studio, RAD development for the web
On Wednesday 17 July 2002 20:51, MAAS wrote:
What do I have to do before I can run my file.php as a cron job in Linux?
search archives for cron.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet
What do I have to do before I can run my file.php as a cron job in Linux?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
What do I have to do before I can run my file.php as a cron job in Linux?
[/snip]
Look at the archives for the past couple of days, it has been covered in
some detail. Make sure to compile PHP without apsx, and for practical
purposes move the PHP executable to the /usr/local/bin
On Wed, 17 Jul 2002, Jay Blanchard wrote:
Look at the archives for the past couple of days, it has been covered in
some detail. Make sure to compile PHP without apsx, and for practical
purposes move the PHP executable to the /usr/local/bin directory. Then put
this as the first line of the PHP
Hi,
How do i set cron job on Red Hat Linux.
Looking forward for yours response.
karthikeyan.
, February 07, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cron Job
Hi,
How do i set cron job on Red Hat Linux.
Looking forward for yours response.
karthikeyan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All,
I have a php script that i tested first through my browser.
If has a simple mail() command.
It workd fine and I received the email.
not I tried to run it as a cron job by adding
#!/usr/local/bin/php -q
My webmaster account receives the confirmation that cron
job has run, but I do not
Hmm...don?t you have to actually create a job in crontab?
Saying that you want a mail every day at 6:00 you would want to create
something like:
* 6 * * * php /usr/local/bin/php /dev/null
in crontab and lose #!/usr/local/bin/php -q in your script.
# Daniel Alsen| www.mindbash.com #
#
Hi,
thanks for the reply. I did setup the crontab already to
run every minute.
the webmaster account receives the report.
Here is the output that I get when I remove the
#!/usr/local/bin/php -q
/home/webvoire/www/cm/test.php: ?php: No such file or
directory
/home/webvoire/www/cm/test.php:
53 matches
Mail list logo