Add service renewal functionality and command for expired services
This commit is contained in:
@@ -37,6 +37,12 @@ class Kernel extends ConsoleKernel
|
||||
$schedule->command('vps:expiry')
|
||||
->timezone("Asia/Ho_Chi_Minh")
|
||||
->dailyAt("09:54");
|
||||
|
||||
/* Service lifecycle: suspend VM, renew invoice, terminate after 30 days */
|
||||
$schedule->command('service:expiry')
|
||||
->timezone("Asia/Ho_Chi_Minh")
|
||||
->everyFiveMinutes()
|
||||
->withoutOverlapping();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user