Releases: peppeocchi/php-cron-scheduler
Releases · peppeocchi/php-cron-scheduler
Added support for SwiftMailer v6.0
Scheduler v2
Changelog
- Scheduler configuration changes
- removed
emailFrom
- added
email
configurationfrom
subject
body
transport
- removed
timezone
- removed
verboseLockFile
- removed
New methods
then
- This lets you define a callback to run after a job execution (e.g. log with a custom logger, ping a url ... )onlyOne
- This method has the same functionalities as the previousdoNotOverlap
Removed methods
- Advanced logging has been removed from the scheduler, the
then
method provides more flexibility.setLogger
setLabel
setJobDoneMessage
doNotOverlap
- The new methodonlyOne
allows more flexibilityevery
- More helpers have been added for simplicityminute
hour
day
month
Schedule times
Check the README for all the available methods
Verbose lock file for closures
- Added new option to generate lock files based on a command id when scheduling closures.
- Fixes on closure schedules.
- Removed forcing of jobs to run in foreground if set to not overlap.
Hotfix runInForeground method not chain-able
Made "runInForeground" chainable (#9) The docs show runInForeground being chained with the following function being "every", however this fails as it does not return the instance of the Job class being used. added "return $this" to method
v1.3 - Overlapping jobs
New method doNotOverlap()
prevents a job from overlapping if it's currently being executed.
v1.2 - PSR-3 support
Feature add psr3 support (#4) * Adding Psr\Logger support * add documentation * small documentation fix
v1.1 Bugfixes and unit testing
- Bugfixes
- Unit testing
when
method available
PHP Cron Scheduler v1.0.1
Require cronexpression @stable
PHP Cron Scheduler v1.0
Return $this on useConfig
v0.1 PHP Cron Scheduler
First version of the PHP Cron Scheduler.
You can schedule a (list of) cron job at a particular time (only simple cron expressions).