Re: [PHP] execute php script with crontab

2004-01-20 Thread rudi
Sorry, for delayed reply, but anyway thanks for your help and your sugestions to check the cron log, after read the tutorial and do some actions (trial and error) for a days, finally i found i know it what's going on, the tutorial say that there is two way to run php script with cron : 1. First

Re: [PHP] execute php script with crontab

2004-01-19 Thread Developer
: rudi [EMAIL PROTECTED] To: Jason Wong [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 19, 2004 7:29 AM Subject: Re: [PHP] execute php script with crontab Ok, thanks i will check it first. soon i will send mail about it. Jason Wong [EMAIL PROTECTED] wrote:On Monday 19 January 2004

Re: [PHP] execute php script with crontab

2004-01-19 Thread Jason Wong
On Monday 19 January 2004 21:14, Developer wrote: Could I add a question regarding the cron command? If you automatically run a php script through the cron command is timeout taken under account or does it run through the command line which is faster (and timeout is not taken under account?)

Re: [PHP] execute php script with crontab

2004-01-18 Thread Robert Cummings
On Sun, 2004-01-18 at 23:01, rudi wrote: Hi There, I am a new be in php programming ussually i using php under windows, but now i am migrate to linux. I have php script to write time (testcron.php owner apache chmod 775) into file testcron.txt(owner apache chmod 775), and i want this

Re: [PHP] execute php script with crontab

2004-01-18 Thread Jason Wong
On Monday 19 January 2004 12:01, rudi wrote: 01 * * * * root run-parts /usr/bin/php /var/www/html/cron/testcron.php I believe 'run-parts' takes a directory as argument. Try: 1 * * * * root /usr/bin/php /var/www/html/cron/testcron.php Also if you have: #!/usr/bin/php as the first line in

Re: [PHP] execute php script with crontab

2004-01-18 Thread rudi
Ok, thanks i will check it first. soon i will send mail about it. Jason Wong [EMAIL PROTECTED] wrote:On Monday 19 January 2004 12:01, rudi wrote: 01 * * * * root run-parts /usr/bin/php /var/www/html/cron/testcron.php I believe 'run-parts' takes a directory as argument. Try: 1 * * * * root