Skip to content

Commit 6a0dbc3

Browse files
committed
[IM] Send an alert email on failure - final piece to close #877
1 parent 8d697a9 commit 6a0dbc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/Console/Kernel.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ protected function schedule( Schedule $schedule ): void
6363

6464
// IRRDB - https://docs.ixpmanager.org/latest/features/irrdb/
6565
if( config( 'ixp.irrdb.bgpq3.path' ) && is_executable( config( 'ixp.irrdb.bgpq3.path' ) ) ) {
66-
$schedule->command( 'irrdb:update-prefix-db' )->cron( '7 */6 * * *' )
66+
$schedule->command( 'irrdb:update-prefix-db --alert-email' )->cron( '7 */6 * * *' )
6767
->skip( function() { return env( 'TASK_SCHEDULER_SKIP_IRRDB_UPDATE_PREFIX_DB', false ); } );
6868

69-
$schedule->command( 'irrdb:update-asn-db' )->cron( '37 */6 * * *' )
69+
$schedule->command( 'irrdb:update-asn-db --alert-email' )->cron( '37 */6 * * *' )
7070
->skip( function() { return env( 'TASK_SCHEDULER_SKIP_IRRDB_UPDATE_ASN_DB', false ); } );
7171
}
7272

0 commit comments

Comments
 (0)