Hi Cog,<br><br>Thanks for the reply. First let me say that the following command is now <i>working fine</i> on the account I was having trouble with:<br><br>15 * * * * curl --silent --compressed <a href="http://example.com/cron.php">http://example.com/cron.php</a> &gt; /dev/null 2&gt;&amp;1<br>
<br>Here are two commands that I tried previously. The first command is the one that is working on other accounts. The second one was recommended by my VPS host tech support, but it didn&#39;t work either on the troubled account.<br>
<br>15 * * * * /usr/bin/php -q /home/&lt;account_name&gt;/public_html/cron.php<br><br>15 * * * * /usr/local/bin/php -q /home/&lt;account_name&gt;/public_html/cron.php<br><br>I&#39;m still curious. Of course it is less urgent now that curl is working for me. And based on the handbook page that you sent me to, the curl way seems to be more of a best practice.<br>
<br>Shai<br><br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 12:05 AM, Cog Rusty &lt;<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Apr 29, 2008 at 2:52 AM, Shai Gluskin &lt;<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>&gt; wrote:<br>
&gt; Thanks cog I&#39;ll try that.<br>
&gt;<br>
&gt; I&#39;m doing it the other way on several accounts on the same server and it is<br>
&gt; working. Why would it work on some accounts and not on others.<br>
&gt;<br>
&gt; Shai<br>
&gt;<br>
<br>
</div>What are your cron commands? Do they have identical form?<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
&gt;<br>
&gt; &nbsp;On Mon, Apr 28, 2008 at 5:56 PM, Cog Rusty &lt;<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Apr 29, 2008 at 12:24 AM, Shai Gluskin &lt;<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; &gt; This time I get the following in the cron email:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Warning: main(./includes/bootstrap.inc): failed to open stream: No<br>
&gt; such<br>
&gt; &gt; &gt; file or directory in /home/cmp/public_html/cron.php on line 9<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Warning: main(): Failed opening &#39;./includes/bootstrap.inc&#39; for<br>
&gt; inclusion<br>
&gt; &gt; &gt; (include_path=&#39;.:/usr/lib/php:/usr/local/lib/php&#39;) in<br>
&gt; &gt; &gt; /home/cmp/public_html/cron.php on line 9<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Fatal error: Call to undefined function: drupal_bootstrap() in<br>
&gt; &gt; &gt; /home/cmp/public_html/cron.php on line 10<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; You must run cron.php not as a file, but by accessing its URL with a<br>
&gt; &gt; local browser (wget, lynx, curl), as explained here:<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://drupal.org/cron" target="_blank">http://drupal.org/cron</a><br>
&gt; &gt;<br>
&gt; &gt; The cause of this error is that you are running cron.php directly with<br>
&gt; &gt; php, so the current directory is not drupal and the &quot;./&quot; paths turn<br>
&gt; &gt; out wrong.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Shai<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; &nbsp;[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt; &gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; &nbsp;[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>