Linux (on a BlueHost server) cron job stopped passing argument
<p>The cronjob below has been running on a Bluehost Linux/Apache machine without issue for 3+ years until last night.</p>

<pre><code>* * * * * php -q /home/siteID/public_html/path/to/cron.php --f=dirclean
</code></pre>

<p>The argument " --f=dirclean " is no longer being passed.  The cron.php script accepts parameters as follows:</p>

<pre><code>if(isset($argv) || isset($_GET['f'])){ //etc... }
</code></pre>

<p>If I drop the " -- " argument is passed.  Unclear why this cronjob was written in this manner originally.</p>

<p>Of course, Bluehost tech support states no support for cron and we didn't change anything.</p>

<p>Any ideas about what went wrong and how we might fix it?</p>