-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add configuration with enabled and custom schedule * Fix bug using .env variable * Add to README and make it easier to publish the config file * Style --------- Co-authored-by: Ralph J. Smit <[email protected]>
- Loading branch information
1 parent
e624336
commit dd1c2c8
Showing
3 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
/** | ||
* Enables Horizon Cron Supervisor | ||
*/ | ||
'enabled' => env('HORIZON_CRON_SUPERVISOR_ENABLED', true), | ||
|
||
/** | ||
* Run every X minutes or define a cron expression like "0,20,40 * * * *" | ||
*/ | ||
'schedule' => env('HORIZON_CRON_SUPERVISOR_SCHEDULE', 3), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters