Skip to content

Commit b752c95

Browse files
author
Igor Chepurnoy
authored
Update README.md
1 parent 967a677 commit b752c95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ class HelloController extends Controller
9090
'class' => 'yii2mod\cron\behaviors\CronLoggerBehavior',
9191
'actions' => ['index']
9292
],
93+
// Example of usage the `MutexConsoleCommandBehavior`
94+
'mutexBehavior' => [
95+
'class' => 'yii2mod\cron\behaviors\MutexConsoleCommandBehavior',
96+
'mutexActions' => ['index'],
97+
]
9398
];
9499
}
95100

0 commit comments

Comments
 (0)