mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Merge branch 'dillon/70-laravel-vapor' into 'master'
Laravel Vapor - Disable all schedule commands + maintenance page See merge request CIEFWorldwideSdnBhd/exchange-2.0!179
This commit is contained in:
+19
-19
@@ -31,27 +31,27 @@ class Kernel extends ConsoleKernel
|
|||||||
protected function schedule(Schedule $schedule)
|
protected function schedule(Schedule $schedule)
|
||||||
{
|
{
|
||||||
|
|
||||||
// $schedule->command('inspire')->hourly();
|
// // $schedule->command('inspire')->hourly();
|
||||||
$schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping();
|
// $schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping();
|
||||||
|
|
||||||
$schedule->command('seasonalSegmantCompany:remove')
|
// $schedule->command('seasonalSegmantCompany:remove')
|
||||||
->dailyAt('01:00')
|
// ->dailyAt('01:00')
|
||||||
->appendOutputTo(storage_path().'/logs/soft-delete-seasonal-segmant-company.log')
|
// ->appendOutputTo(storage_path().'/logs/soft-delete-seasonal-segmant-company.log')
|
||||||
->withoutOverlapping();
|
|
||||||
|
|
||||||
$schedule->command('delete:bulk-download-files')
|
|
||||||
->hourly()
|
|
||||||
->appendOutputTo(storage_path().'/logs/delete-bulk-download-files.log')
|
|
||||||
->withoutOverlapping();
|
|
||||||
|
|
||||||
$schedule->command('booking:expired')
|
|
||||||
->dailyAt('02:00')
|
|
||||||
->appendOutputTo(storage_path().'/logs/expire-booking.log')
|
|
||||||
->withoutOverlapping();
|
|
||||||
|
|
||||||
// $schedule->command('purchaseOrder:autoFill')
|
|
||||||
// ->dailyAt('03:00')
|
|
||||||
// ->withoutOverlapping();
|
// ->withoutOverlapping();
|
||||||
|
|
||||||
|
// $schedule->command('delete:bulk-download-files')
|
||||||
|
// ->hourly()
|
||||||
|
// ->appendOutputTo(storage_path().'/logs/delete-bulk-download-files.log')
|
||||||
|
// ->withoutOverlapping();
|
||||||
|
|
||||||
|
// $schedule->command('booking:expired')
|
||||||
|
// ->dailyAt('02:00')
|
||||||
|
// ->appendOutputTo(storage_path().'/logs/expire-booking.log')
|
||||||
|
// ->withoutOverlapping();
|
||||||
|
|
||||||
|
// // $schedule->command('purchaseOrder:autoFill')
|
||||||
|
// // ->dailyAt('03:00')
|
||||||
|
// // ->withoutOverlapping();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Site Under Maintenance</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
text-align: center;
|
||||||
|
padding: 50px;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
background: white;
|
||||||
|
padding: 20px;
|
||||||
|
border-radius: 10px;
|
||||||
|
display: inline-block;
|
||||||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="content">
|
||||||
|
<h1>We'll be back soon!</h1>
|
||||||
|
<p>Sorry for the inconvenience but we're performing some maintenance at the moment. We'll be back online shortly!</p>
|
||||||
|
<p>— CIEF EXCHANGE</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user