45 lines
1.3 KiB
PHP
45 lines
1.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
* The schedule monitor will log each start, finish and failure of all scheduled jobs.
|
|
* After a while the `monitored_scheduled_task_log_items` might become big.
|
|
* Here you can specify the amount of days log items should be kept.
|
|
*/
|
|
'delete_log_items_older_than_days' => 30,
|
|
|
|
/*
|
|
* The date format used for all dates displayed on the output of commands
|
|
* provided by this package.
|
|
*/
|
|
'date_format' => 'Y-m-d H:i:s',
|
|
|
|
/*
|
|
* Oh Dear can notify you via Mail, Slack, SMS, web hooks, ... when a
|
|
* scheduled task does not run on time.
|
|
*
|
|
* More info: https://ohdear.app/cron-checks
|
|
*/
|
|
'oh_dear' => [
|
|
/*
|
|
* You can generate an API token at the Oh Dear user settings screen
|
|
*
|
|
* https://ohdear.app/user-settings/api
|
|
*/
|
|
'api_token' => env('OH_DEAR_API_TOKEN', ''),
|
|
|
|
/*
|
|
* The id of the site you want to sync the schedule with.
|
|
*
|
|
* You'll find this id on the settings page of a site at Oh Dear.
|
|
*/
|
|
'site_id' => env('OH_DEAR_SITE_ID'),
|
|
|
|
/*
|
|
* To keep scheduled jobs as short as possible, Oh Dear will be pinged
|
|
* via a queued job. Here you can specify the name of the queue you wish to use.
|
|
*/
|
|
'queue' => env('OH_DEAR_QUEUE'),
|
|
],
|
|
];
|