clrghouz/routes/console.php

24 lines
518 B
PHP
Raw Permalink Normal View History

2018-11-15 10:45:49 +00:00
<?php
2024-11-04 07:25:49 +00:00
use Illuminate\Support\Facades\Schedule;
2018-11-15 10:45:49 +00:00
2024-11-04 07:25:49 +00:00
use App\Jobs\AddressIdleDomain;
use App\Jobs\MailSend;
use App\Jobs\SystemHeartbeat;
2018-11-15 10:45:49 +00:00
2024-11-04 07:25:49 +00:00
Schedule::job(new MailSend(TRUE))
->timezone('Australia/Melbourne')
->everyMinute()
->withoutOverlapping();
Schedule::job(new MailSend(FALSE))
->timezone('Australia/Melbourne')
->twiceDaily(1,13);
Schedule::job(new SystemHeartbeat)
->timezone('Australia/Melbourne')
->hourly();
Schedule::job(new AddressIdleDomain)
->timezone('Australia/Melbourne')
->weeklyOn(0,'01:00');