Re: [PHP] cron job problem

2012-10-23 Thread Ashley Sheridan
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 wrote: > >>> > On Tue, Oct 23, 2

Re: [PHP] cron job problem

2012-10-23 Thread Jim Giner
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 wrote: On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan wrote: Crontab is the daemon which runs cron

Re: [PHP] cron job problem

2012-10-23 Thread Ashley Sheridan
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 wrote: > > > >> On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan > >> wrote: > >>> > >>> > >>> Crontab is the daemon which runs cron jobs, and some d

Re: [PHP] cron job problem

2012-10-23 Thread Jim Giner
On 10/23/2012 6:18 PM, David OBrien wrote: On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown wrote: On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan 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), c

Re: [PHP] cron job problem

2012-10-23 Thread David OBrien
On Tue, Oct 23, 2012 at 5:31 PM, Daniel Brown wrote: > On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan > 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 i

Re: [PHP] cron job problem

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan 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 clarification and correction he

Re: [PHP] cron job problem

2012-10-23 Thread Ashley Sheridan
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 > > > > wrote: > > >

Re: [PHP] cron job problem

2012-10-23 Thread Ashley Sheridan
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 > > 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 f

Re: [PHP] cron job problem

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 4:59 PM, Jim Giner 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 entry for this wasn't someho

Re: [PHP] cron job problem

2012-10-23 Thread Jim Giner
On 10/23/2012 4:56 PM, Daniel Brown wrote: On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner 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 d

Re: [PHP] cron job problem

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner 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 running twice > it seems. The

Re: [PHP] cron job style php...

2005-01-16 Thread Ligaya Turmelle
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

Re: [PHP] cron job style php...

2005-01-16 Thread Bret Hughes
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 t

RE: [PHP] cron job style php...

2005-01-16 Thread Hans Zaunere
> 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 need

Re: [PHP] cron job style php...

2005-01-16 Thread Randy Johnson
Russel, Yes you can run a cron job on php You may have to add a line like this at the top, it has been awhile since I have done it] #! /usr/local/php/sapi/cli/php this line would be different for your system -Randy - Original Message - From: "Russell P Jones" <[EMAIL PROTECTED]> To: Sen

Re: [PHP] cron job for php not working

2004-05-20 Thread Tim Traver
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 /home/www/project/app_cron/follow_

Re: [PHP] cron job for php not working

2004-05-20 Thread James E Hicks III
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 #!

RE: [PHP] cron job for php not working

2004-05-20 Thread Jay Blanchard
[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 h

Re: [PHP] cron job

2003-06-17 Thread CPT John W. Holmes
> 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

Re: [PHP] cron job

2003-06-17 Thread David Nicholson
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 >

RE: [PHP] cron job

2003-06-17 Thread Jay Blanchard
[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 (http://www.php.n

Re: [PHP] Cron Job help Needed

2003-02-19 Thread Ray Hunter
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 sugges

RE: [PHP] CRON JOB

2002-07-17 Thread Miguel Cruz
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

RE: [PHP] CRON JOB

2002-07-17 Thread Jay Blanchard
[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 directory.

Re: [PHP] CRON JOB

2002-07-17 Thread Jason Wong
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

Re: [PHP] CRON JOB

2002-07-17 Thread José León Serna
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 http://studio.qadram

RE: [PHP] Cron Job

2002-02-07 Thread Michael Geier
This is an inappropriate question for this list. I would suggest either a book on learning Unix (almost any flavor will do) or seeking any number of Linux mailing lists for questions concerning the OS. -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED]] Sent: Thursday, Februar