<div dir="ltr"><div>Hello Alan,<br><br></div>I wish I can launch the .sh file but I can't ...<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Christophe Humbert<br><br><br></div></div>
<br><div class="gmail_quote">On Wed, Jul 1, 2015 at 10:04 AM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/07/15 08:30, Christophe Humbert wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Guys<br>
<br>
until now I was using a webcron to launch vtigercron.php but I would<br>
like ti use the cron of my shared hosting (no access to shell) and when<br>
I am launching the vtigercron.php through the cron I have the following<br>
: error reading from the headersĀ  anyone an idea<br>
</blockquote>
<br></span>
I would try and use the shell helper script rather than run php directly.<br>
<br>
So your cron entry looks like:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
*/15 * * * * sh /path/to/vtiger/cron/vtigercron.sh<br>
</blockquote>
<br>
<rant><br>
Shared hosts are a complete PITA.<br>
<br>
Some shared hosts limit the version of the PHP cli your cron can access.<br>
<br>
Another thing we found with our GeoTools module on shared hosts can be that the cron jobs are limited to some arbitrary time and they can be terminated by the shared hosting engine (CPanel, Plesk or whatever) so be aware that if you have a long job (like an import or loads of emails/workflows) then the script might get killed prematurely.<br>
</rant><br>
<br>
Al<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div></div>