On 3/28/07, Chris [EMAIL PROTECTED] wrote:
There is a lot of require_once(' ') in the script and if i am not in the
correct folder the script won't work.
That is something php related ;)
Change your require to something like this:
require(dirname(__FILE__) . '/other_file_name.php');
--
Hello all,
I don't know if it's the correct list, but as a php script is involved
I try to start a set up a crontab job with crontab -e, which should start a php
script:
*/10* * * * cd /Users/yvan/Sites/est-pac/ ;
/usr/bin/php
Yvan wrote:
Hello all,
I don't know if it's the correct list, but as a php script is involved
I try to start a set up a crontab job with crontab -e, which should start a php
script:
*/10* * * * cd /Users/yvan/Sites/est-pac/ ;
/usr/bin/php
Yvan wrote:
Hello all,
I don't know if it's the correct list, but as a php script is involved
Nope, not the right list. Cron isn't running - which has absolutely
nothing to do with php.
I try to start a set up a crontab job with crontab -e, which should start a php
script:
*/10*
: Wednesday, March 28, 2007 03:55:09 PM -0700
From: Yvan [EMAIL PROTECTED]
To: php-general@lists.php.net
Cc:
Subject: [PHP] crontab, PHP and MACOSX
Hello all,
I don't know if it's the correct list, but as a php script is
involved
I try to start a set up a crontab job
On March 28, 2007, Chris wrote:
Yvan wrote:
Hello all,
I don't know if it's the correct list, but as a php script is involved
Nope, not the right list. Cron isn't running - which has absolutely
nothing to do with php.
I try to start a set up a crontab job with crontab -e,
Shell command as cron jobs work and errors are also send to the local mail, but
php scripts are not executed
Does running the command manually work?
If not, there's your problem.
If it does, then it's a cron issue.
Still something you should ask about on a mac mailing list.
--
Postgresql
There is a lot of require_once(' ') in the script and if i am not in the correct folder the script won't work.
That is something php related ;)
Change your require to something like this:
require(dirname(__FILE__) . '/other_file_name.php');
--
Postgresql php tutorials
bob wrote:
Hi,
I am trying to schedule the running of some PHP scripts on my Win2K PC
at home.
On my live server I use Linux, so am fully familiar with Crontab. I am
not that familiar with running scripts using the scheduler in Win2K though.
So far what I have is:
C:\php\php.exe -q
\
Run as: username/pass with security acess to
both php.exe and the file.php
YMMV
pjn
- Original Message -
From: Jochem Maas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, February 18, 2005 10:06 PM
Subject: Re: [PHP] Crontab for Windows
bob wrote:
Hi,
I
[EMAIL PROTECTED] wrote:
On W3K you could use this as the run line in
Scheduled Tasks and probably the same in XP
although I have not tested this. The same
components exist in the W2K version although
may be in different locations/names.
Run: cmd /c c:\php\php.exe -q
Hi,
I am trying to schedule the running of some PHP scripts on my Win2K PC
at home.
On my live server I use Linux, so am fully familiar with Crontab. I am
not that familiar with running scripts using the scheduler in Win2K though.
So far what I have is:
C:\php\php.exe -q
On my live server I use Linux, so am fully familiar with Crontab. I am
not that familiar with running scripts using the scheduler in
Win2K though.
I use nncronlite which is a cron implementation for windoz (familiar
crot.tab file);
http://www.batchconverter.com/nnCronLITE-download-16062.shtml
bob wrote:
C:\php\php.exe -q c:\path\to\php\file.php
But this doesn't seem to do anything..the task manager in the windows
scheduler just keeps saying that the task has not been run.
Any suggestions?
The Task Scheduler uses the 'at' command under the hood, same as cron...
Perhaps if you
Message-
From: Tim Traver [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 1:17 AM
To: Ryan Schefke; Php-General-Help; [EMAIL PROTECTED]
Subject: Re: [PHP] Crontab PHP Script
Not sure if this is different in linux, but usually the first parameter is
the minutes, and if you had 01
Hi,
Can someone please give me some guidance. I'd like to run a php script
every minute (in reality every night, but just testing). I've done some
reading and found that a crontab is the best way to go (I think). I'm using
Plesk 7 on a Linux box and I have root access.
I made a quick
Ryan Schefke wrote --- napísal::
Hi,
Can someone please give me some guidance. I'd like to run a php script
every minute (in reality every night, but just testing). I've done some
reading and found that a crontab is the best way to go (I think). I'm using
Plesk 7 on a Linux box and I have
On Sat, 2004-06-26 at 19:34, Ryan Schefke wrote:
Hi,
Can someone please give me some guidance. I'd like to run a php script
every minute (in reality every night, but just testing). I've done some
reading and found that a crontab is the best way to go (I think). I'm using
Plesk 7 on
Not sure if this is different in linux, but usually the first parameter is
the minutes, and if you had 01 in it, that means that it would do it once
an hour (i.e. 12:01, 1:01, 2:01, etc...
They should all have stars to do it once a minute.
In freeBSD, it would look like this :
* * *
Can I run a php script in crontab?
Do I echo or print?
Anyone doing it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can I run a php script in crontab?
Do I echo or print?
Anyone doing it?
This is a serious security hazard. However, what you could do is have a PHP
page set cron settings (such as name of file, location, frequency, and
importance), then have another cron job (running at a decent frequency) do
://www.christianperformer.com
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 2:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] crontab
Can I run a php script in crontab?
Do I echo or print?
Anyone doing it?
--
PHP General Mailing List (http
Cal, Liam, Jimmy,
Thanks. If this is a serious security hazard, could you show me some code that is more
secure? I am the root. Mind you I've never worked with crontab before. I want to run
/var/www/backup_mysql.php I suppose I should start by putting it somewhere not
publicly accessible?
I want to run /var/www/backup_mysql.php
Are you just trying to backup your MySQL database? If so, check this out:
http://members.lycos.co.uk/wipe_out/automysqlbackup
Edit a view configuration variables (db to be backed up, path, etc), throw it in
/etc/cron.daily, and forget about it.
I does
i think one of us misunderstood your posting ...
my suggestion was simply to put a php script in your crontab to be run
whenever you set it to go .. if you are writing a php script to update
crontab for you as Liam understood your message it is not a good idea (
actually it's a really bad idea
3:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] crontab
Cal, Liam, Jimmy,
Thanks. If this is a serious security hazard, could you show me some code
that is more secure? I am the root. Mind you I've never worked with
crontab before. I want to run /var/www/backup_mysql.php I suppose I should
start
Can I run a php script in crontab?
Do I echo or print?
Anyone doing it?
Well, why don't I just completely misunderstand the question. Sorry,
everyone.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: Tuesday, March 04, 2003 3:45 PM
Subject: [PHP] crontab
Can I run a php script in crontab?
Do I echo or print?
Anyone doing it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Outgoing mail is certified Virus Free.
Checked by AVG
I'm looking for the approximate solution of mailing out (or doing anything
else )
timed by cron(tab) along with use of mysql as means of identification and
storing
of the dates in multiuser enviroment.
Initial date and interval of recurring event is to be set up by a user.
May you know some open
Hi,
Tuesday, September 3, 2002, 7:55:56 AM, you wrote:
aac I'm looking for the approximate solution of mailing out (or doing anything
aac else )
aac timed by cron(tab) along with use of mysql as means of identification and
aac storing
aac of the dates in multiuser enviroment.
aac Initial date
Hello,
I need to run a daily script on our website but I'm trying to avoid using
CRONTAB.
Is there any way that I can run this daily ?
Is there any equivalent to ASP's Application_OnStart for PHP ?
Thanks,
_
Mauricio Cuenca
[EMAIL PROTECTED]
--
PHP General Mailing List
Program it into the homepage to run once a day. As long as you get one hit
per day, then it'll run.
---John Holmes...
- Original Message -
From: Mauricio Cuenca [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 9:15 AM
Subject: [PHP] Crontab
Hello,
I need
[snip]
Program it into the homepage to run once a day. As long as you get one hit
per day, then it'll run.
...
I need to run a daily script on our website but I'm trying to avoid using
CRONTAB.
Is there any way that I can run this daily ?
[/snip]
But if you need to run it only once per day
Hello to all !!!
I write you because I have the following question:
I am attempting execute automatically an script PHP, all the days at a
certain hour.
I configured the cron to executes it, but when it is executed, instead of
working, I receive an email in
my main account where say:
On Fri, 5 Apr 2002, Julian wrote:
I am attempting execute automatically an script PHP, all the days at a
certain hour.
I configured the cron to executes it, but when it is executed, instead of
working, I receive an email in
my main account where say:
content of this
type
Do you know what is the problem now??
Regards and thank for your time!! Julian
- Original Message -
From: Miguel Cruz
To: Julian
Cc: [EMAIL PROTECTED]
Sent: Friday, April 05, 2002 7:26 PM
Subject: Re: [PHP] CRONTAB
On Fri, 5 Apr 2002, Julian wrote:
I am attempting
On Fri, 5 Apr 2002, Julian wrote:
My script run fine with:
0 0 * * * /usr/bin/php /path/to/my/script.php
But I continue receiving an email each time that the script run that say:
X-Powered-By: PHP/4.0.6
Content-type: text/html
PHP thinks it's producing output to be sent via a web
On Fri, Apr 05, 2002 at 09:42:02PM -0300, Julian wrote:
0 0 * * * /usr/bin/php /path/to/my/script.php
But I continue receiving an email each time that the script run that say:
X-Powered-By: PHP/4.0.6
Content-type: text/html
Those two lines are PHP's default output. Crontab, by default,
YES!! MY SCRIPT RUN AND I'M NOT RECEIVING ANY EMAIL!
Thanks to all!!
Specials thanks to Miguel and Dan!!
Regards! Julian
- Original Message -
From: Analysis Solutions
To: PHP List
Sent: Friday, April 05, 2002 9:44 PM
Subject: Re: [PHP] CRONTAB
On Fri, Apr 05
Hello,
I am facing some problem in the crontab...Can anyone tell me how to
solve this
Actually i have written the php script to send mail to the users after a
week.In the crontab i have made a entry so that it will trigger after
12.05.
5 0 * * * lynx http://info/php/MailForm.php
: [PHP] Crontab
On Wednesday 27 February 2002 13:11, Uma Shankari T. wrote:
Hello,
I need to run one php script using crontab.I am having this doubt.If
the phpscript run in the command prompt then only we can run the script
using crontab...please tell me how do i go about
Hello,
I need to run one php script using crontab.I am having this doubt.If
the phpscript run in the command prompt then only we can run the script
using crontab...please tell me how do i go about with this..
-Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Compile php as a CGI then write a script that begins as such.
#!/usr/local/bin/php -q
?php
/ / code here
?
Chmod on file and place in crontab.
- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 11:11 PM
Subject: [PHP
see whether the command line option is available on your server.
sanjay
- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 27, 2002 10:41 AM
Subject: [PHP] Crontab
Hello,
I need to run one php script using crontab.I
On Wednesday 27 February 2002 13:11, Uma Shankari T. wrote:
Hello,
I need to run one php script using crontab.I am having this doubt.If
the phpscript run in the command prompt then only we can run the script
using crontab...please tell me how do i go about with this..
You can have
27 février 2002 8:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Crontab
On Wednesday 27 February 2002 13:11, Uma Shankari T. wrote:
Hello,
I need to run one php script using crontab.I am having this doubt.If
the phpscript run in the command prompt then only we can run the script
using
Arnold,
In the minutes field on crontab, you can add as many values as you want
separated by a colon. Try somthing like this...
00,05,10,15,20,25 and so until 55 * * *
^
THIS IS A MINUTES FIELD WITH MANY VALUES
We use it here and it does the job fine. Try
Didn't you just ask this a few days ago?
In your while loop put a sleep(300) which will sleep for 300 seconds after
processing X amount of emails.
--Joe
On Fri, Feb 22, 2002 at 02:53:10PM +0800, Arnold Gamboa wrote:
hi there.
is there a way to tell crontab to do:
"run script every 5
BTW when it sleeps PHP takes up no noticable resources. Also I'm running the
php binary to send out these messages (that way I can use screen and make sure
that my browser doesn't crash, os freeze, etc.)
--Joe
On Fri, Feb 22, 2002 at 03:36:33PM +0800, Arnold Gamboa wrote:
thanks for the
1.) sleep() is in seconds - plain old seconds - so sleep(300) == 5 minutes.
2.) yes - send, sleep, send, ...
--Joe
On Thu, Feb 22, 2001 at 11:09:05PM +0800, Arnold Gamboa wrote:
hi,
thanks again. questions:
1. sleep(300) would mean pause by 300 mins, right? That's why i thought you
50 matches
Mail list logo