Announcement
Collapse
No announcement yet.
Pending Scheduled Jobs
Collapse
X
-
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:
-
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:
-
Realised i forgot to put a space between 4 and the *
Funny, something so small has been racking my brains out
Leave a comment:
-
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:
-
So problem not with email. Check whether there are any Errors in server log and espocrm log (data/logs).
Leave a comment:
-
-
Leave a comment:
-
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:
-
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:
-
I have no idea. Does "Send Test Email" in Outbound Emails section of Administration work?
Leave a comment:
-
there are no failed jobs, other than pending and the outbound emails work
Leave a comment:
Leave a comment: