Re: To 'f' or not to 'f'

From: Date: Fri, 11 Oct 2024 15:43:15 +0000
Subject: Re: To 'f' or not to 'f'
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-328558@lists.php.net to get a copy of this message
On Fri, 2024-10-11 at 08:56 -0400, Steve Matzura wrote: >   > Under some now ancient version of PHP--probably 6, I had a cron job that read: >   >  php -f {my-php-script} >   >  and it ran every day like it was supposed to. Now, under 8.3, the job did not execute any > more. I > removed the '-f' from the line in cron, and the job runs. What is the difference > between with and > without 'f' if '-f' is supposed to be superfluous? >   The php man page says: ------- --file file -f file Parse and execute file ------- so it looks like it should work but why the { } block? That may be confusing cron. John ====== >   >  

« previous php.general (#328558) next »