You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to add tasks to a "trigger group" like deploy:
class AppScheduleBuilder implements ScheduleBuilder
{
publicfunctionbuildSchedule(Schedule$schedule): void
{
$schedule->addCommand('app:warm-cache')
->trigger('deploy')
->unscheduled() // disables task from bring run except when "triggered"
;
$schedule->addCommand('app:health-check')
->hourly() // also runs hourly
->trigger('deploy', priority: 10) // would run before the above task
;
// ...
}
}
Ability to add tasks to a "trigger group" like
deploy
:Run the trigger (ie in a post deployment script):
Combined with #58:
A dedicated
Trigger
attribute could be added to make unscheduled invokable service/console command tasks:The text was updated successfully, but these errors were encountered: