Announcement

Collapse
No announcement yet.

Inbound email not showing- cron seems not running

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inbound email not showing- cron seems not running

    Outbound emails works fine. Inbound, nothing happening.

    Scheduled Jobs just shows: "No data" messages, all of the jobs.

    VDS on godaddy with centos and php 5.4 installed. The required cron line was added to your cron.php file and on cpanel as follows:
    /usr/local/bin/php -f /home/onlineproperties/public_html/crm/cron.php > /dev/null 2>&1
    and another:


    /home/onlineproperties/public_html/crm/cron.php > /dev/null 2>&1
    and another:
    /web/cgi-bin/php5_4 "/home/onlineproperties/public_html/crm/cron.php" > /dev/null 2>&1

    Not one of them see to run anything? Help please.

    Here is the content of your cron.php file on my VDS server at godaddy:
    <?php
    /************************************************** **********************
    * This file is part of EspoCRM.
    *
    * EspoCRM - Open Source CRM application.
    * Copyright (C) 2014-2015 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
    * Website: http://www.espocrm.com
    *
    * EspoCRM is free software: you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation, either version 3 of the License, or
    * (at your option) any later version.
    *
    * EspoCRM is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with EspoCRM. If not, see http://www.gnu.org/licenses/.
    ************************************************** **********************
    /

    $sapiName = php_sapi_name();

    if (substr($sapiName, 0, 3) != 'cli') {
    die("Cron can be run only via CLI");
    }

    include "bootstrap.php";

    $app = new \Espo\Core\Application();
    $app->runCron();


    * * * * * /usr/local/bin/php -f /home/onlineproperties/public_html/crm/cron.php > /dev/null 2>&1

    ?>
    Last edited by nickvh1; 05-10-2015, 04:22 PM.

  • #2
    Please check if there are any errors in the log file (/data/logs/*.log).
    Job Offers and Requests

    Comment


    • #3
      Log entry shows:
      [2015-05-11 08:02:11] Espo.WARNING: E_WARNING: Cannot modify header information - headers already sent {"file":"/home/onlineproperties/public_html/crm/vendor/yzalis/identicon/src/Identicon/Identicon.php","line":52} []
      [2015-05-11 08:02:11] Espo.WARNING: E_WARNING: Cannot modify header information - headers already sent {"file":"/home/onlineproperties/public_html/crm/vendor/yzalis/identicon/src/Identicon/Identicon.php","line":52} []
      [2015-05-11 10:53:06] Espo.WARNING: E_WARNING: Cannot modify header information - headers already sent {"file":"/home/onlineproperties/public_html/crm/vendor/yzalis/identicon/src/Identicon/Identicon.php","line":52} []
      [2015-05-11 10:53:44] Espo.WARNING: E_WARNING: Cannot modify header information - headers already sent {"file":"/home/onlineproperties/public_html/crm/vendor/yzalis/identicon/src/Identicon/Identicon.php","line":52} []

      Comment


      • #4
        Ok I now made a new installation for this. The log file still shows this error message after this 2nd installation.
        Espo.WARNING: E_WARNING: Cannot modify header information - headers already sent {"file":"/home/onlineproperties/public_html/crm/vendor/yzalis/identicon/src/Identicon/Identicon.php","line":52} []

        No cron job works. Please assist.
        Last edited by nickvh1; 05-12-2015, 01:12 PM.

        Comment


        • #5
          Can anyone please assist in this matter. Thanks.

          Comment


          • #6
            Did you add a cron.php to crontab. Also, please check the error log of the webserver. Also, try to login via SSH and run the command
            Code:
            php /home/onlineproperties/public_html/crm/cron.php
            Job Offers and Requests

            Comment

            Working...
            X