laravel-mailator
laravel-mailator copied to clipboard
Email scheduler for Laravel
fixes #2575 this was used on line 47: $schedule->timestamp_target->diffInMinutes(now()->floorSeconds()) >= $schedule->delay_minutes instead of this: $schedule->timestamp_target->diffInMinutes(now()->floorSeconds()) === $schedule->delay_minutes because the second option will work only if mailator will be run every...
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 11.x. **Before merging**, you need to: - Checkout the `l11-compatibility`...
I Think that there is a bug where delay_minute is not working properly In `AfterConstraint.php` The below code at the end diffs the hours between the delay_minutes. I think the...
### Please review > AfterConstraint.php `return $schedule->isOnce() ? $schedule->timestamp_target->diffInHours(now()->floorSeconds()) === $schedule->delay_minutes : $schedule->timestamp_target->diffInHours(now()->floorSeconds()) > $schedule->delay_minutes;` **Should be like this** `return $schedule->isOnce() ? $schedule->timestamp_target->diffInMinutes(now()) >= $schedule->delay_minutes && is_null($schedule->completed_at) : $schedule->timestamp_target->diffInMinutes(now()) >...
# Context We came in a situation w here the our queue was not running. After a few hours we've seen this and started the queue. Immediately the queue was...
When using a frequency in combination with `after`. Then scheduler garbare resolver does not what I expect it to do. With below code ``` Scheduler::init('IncompleteSubmissionMissingMeterSerialMailable') ->mailable(new IncompleteSubmissionMissingMeterSerialMailable($submission->id)) ->target($submission) ->daily() ->stopable()...
On line 55 in the AfterConstraint, it's compared with diffInHours. This should be in minutes, since Hours already is checked above. $diff = (int) $schedule->timestamp_target->diffInHours( now()->floorSeconds(), absolute: true ); This...
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 12.x. **Before merging**, you need to: - Checkout the `l12-compatibility`...