Announcement

Collapse
No announcement yet.

Pending Scheduled Jobs

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

  • yuri
    replied
    Those are not errors. It's ok.

    Leave a comment:


  • wirefinity
    replied
    yeah the pending jobs works now, but i am getting the error above - i think thats more to do with the mass email campaign tracking statistics

    Leave a comment:


  • yuri
    replied
    So it works now?

    Leave a comment:


  • wirefinity
    replied
    Looking at the data/logs, i am also seeing the following errors;

    [2016-07-21 08:41:58] Espo.WARNING: E_WARNING: imagecolordeallocate() expects exactly 2 parameters, 1 given {"code":2,"message":"imagecolordeallocate() expects exactly 2 parameters, 1 given","file":"/home/url/public_html/url/application/Espo/Modules/Crm/EntryPoints/CampaignTrackOpened.php","line":93} []
    [2016-07-21 08:41:58] Espo.WARNING: E_WARNING: imagedestroy() expects parameter 1 to be resource, null given {"code":2,"message":"imagedestroy() expects parameter 1 to be resource, null given","file":"/home/url/public_html/url/application/Espo/Modules/Crm/EntryPoints/CampaignTrackOpened.php","line":94} []
    [2016-07-21 08:46:45] Espo.WARNING: E_WARNING: imagecolordeallocate() expects exactly 2 parameters, 1 given {"code":2,"message":"imagecolordeallocate() expects exactly 2 parameters, 1 given","file":"/home/url/public_html/url/application/Espo/Modules/Crm/EntryPoints/CampaignTrackOpened.php","line":93} []
    [2016-07-21 08:46:45] Espo.WARNING: E_WARNING: imagedestroy() expects parameter 1 to be resource, null given {"code":2,"message":"imagedestroy() expects parameter 1 to be resource, null given","file":"/home/url/public_html/url/application/Espo/Modules/Crm/EntryPoints/CampaignTrackOpened.php","line":94} []

    Leave a comment:


  • wirefinity
    replied
    Realised i forgot to put a space between 4 and the *

    Funny, something so small has been racking my brains out

    Leave a comment:


  • wirefinity
    replied
    ah, didnt check the data/logs, this is what it states;

    Espo.ERROR: Uncaught Exception InvalidArgumentException: "*/4* * * * is not a valid CRON expression" at /home/url/public_html/url/vendor/mtdowling/cron-expression/src/Cron/CronExpression.php line 105 {"exception":"[object] (InvalidArgumentException(code: 0): */4* * * * is not a valid CRON expression at /home/url/public_html/url/vendor/mtdowling/cron-expression/src/Cron/CronExpression.php:105)"} []

    What should be the correct CRON expression

    Leave a comment:


  • yuri
    replied
    So problem not with email. Check whether there are any Errors in server log and espocrm log (data/logs).

    Leave a comment:


  • wirefinity
    replied
    Link to image https://s32.postimg.org/d9djyuwk5/sc...bs_pending.jpg

    Leave a comment:


  • yuri
    replied
    Too small image.

    Leave a comment:


  • wirefinity
    replied
    Screenshot
    Attached Files

    Leave a comment:


  • yuri
    replied
    Please open in browser the address http://YOUR_CRM_URL/#Admin/jobs

    And take a screenshot.

    Leave a comment:


  • wirefinity
    replied
    Please see the response from the server support, please note i have replaced the site url with domain on the cron setup shown below - to hide the name on the public forum

    Hello,

    From the server there is only cron setup for this domain. and that is calling the anther cron.php file


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

    It's being executed every minute and i can see its running fine. But the cron.php file located inside the domain is having some code which i am unable to understand as shown below.

    ================================================== ==================

    $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();

    ================================================== ==================

    There should be some sort of application setting for executing these crons. Some documentation for the product will help to identify the issue with the cron. You can either ignore the pending que as it seems be an error with application as cron is working fine on server or you can contact the application maker to see if they have some way to clear the pending crons.

    Leave a comment:


  • wirefinity
    replied
    yes, checked it again just now and it sends the email - is there way of checking if the scheduled jobs are working other than jobs pending status and cron-jobs

    Leave a comment:


  • yuri
    replied
    I have no idea. Does "Send Test Email" in Outbound Emails section of Administration work?

    Leave a comment:


  • wirefinity
    replied
    there are no failed jobs, other than pending and the outbound emails work

    Leave a comment:

Working...
X