Hello all.
I have a Fabrik Schedule with an email plugin that only seems to work properly when I manually run it. It does run on it's own; but the condition always fails to return any records (though the records are really true). If I manually run it and the conditions are still true then it does return records via email. Below is my condition within the schedule email plugin.
I'm using Fabrik 3.4 & Joomla 3.4.8. Any suggestions?
Thanks in advance.
I have a Fabrik Schedule with an email plugin that only seems to work properly when I manually run it. It does run on it's own; but the condition always fails to return any records (though the records are really true). If I manually run it and the conditions are still true then it does return records via email. Below is my condition within the schedule email plugin.
Code:
$reminderdate = $row->bw_resources___reminder_date;
$reminderdate = DateTime::createFromFormat("m-d-Y l", $reminderdate);
$reminderdate = date_format($reminderdate, 'm-d-Y');
$todaysdate = date("m-d-Y");
return $reminderdate == $todaysdate;
Thanks in advance.