Re: [PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Daniel Brown
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: * * * *

Re: [PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Merlin Morgenstern
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: # /usr/local/bin

Re: [PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Jochem Maas
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: /home/www/create_notification_ema

Re: [PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Aschwin Wesselius
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: /home/www/create_notification_emails.php?tf=2

[PHP] Pass parameters via url inside a php cron job

2008-09-25 Thread Merlin Morgenstern
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 t