> ip route-static 192.168.66.1 0.0.0.0 192.168.66.1
Kamis, 22 September 2022
Kamis, 25 Agustus 2022
Proxmox Resize Disk Decrease LVM
Mengubah ukuran disk lvm di proxmox 6.
Backup container.
Jalankan perintah untuk restore dengan ukuran yang baru, sebagai contoh ukuran 10G
pct restore 110 /data/dump/vzdump-lxc-100-2022_01_03-12_20_07.tar.zst --rootfs local-lvm:10
Sabtu, 16 Juli 2022
Minggu, 03 Juli 2022
Laravel 6 schedule:work
Laravel 6 schedule:work
Dapet dari sini https://github.com/laravel/ideas/issues/2338
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
class ScheduleListen extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'schedule:listen';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Listen for scheduled tasks';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$this->line('Listening for scheduled tasks..');
while (true) {
if(now()->startOfMinute()->is(now())) {
Artisan::call('schedule:run');
$output = Artisan::output();
if($output != 'No scheduled commands are ready to run.') {
$this->line($output);
}
}
sleep(1);
}
}
}
Senin, 02 Mei 2022
1 Syawal 1443H
Allahu akbar.. Allahu akbar... Allahu akbar..
Kamis, 21 April 2022
Ramadhan 1443
Rabu, 06 April 2022
Ramadhan 1443
Selamat datang Ramadhan, bulan yang penuh berkah dan ampunan.
Semoga kita diberi kekuatan untuk beribadah sebaik mungkin dibulan yang penuh dengan kemuliaan ini.
1 Ramadhan 1443 Hijriah jatuh pada hari Ahad 3 April 2022