diff --git a/app/Console/Cron/Monthly.php b/app/Console/Cron/Monthly.php index c3d17557..f18fcfcd 100644 --- a/app/Console/Cron/Monthly.php +++ b/app/Console/Cron/Monthly.php @@ -8,7 +8,11 @@ use App\Events\CronMonthly; /** * This just calls the CronMonthly event, so all of the * listeners, etc can just be called to run those tasks + * + * The actual cron tasks are in app/Cron + * * @package App\Console\Cron + * */ class Monthly extends Command { diff --git a/app/Console/Cron/Nightly.php b/app/Console/Cron/Nightly.php index 18437df7..1b2d69ad 100644 --- a/app/Console/Cron/Nightly.php +++ b/app/Console/Cron/Nightly.php @@ -8,6 +8,9 @@ use App\Events\CronNightly; /** * This just calls the CronNightly event, so all of the * listeners, etc can just be called to run those tasks + * + * The actual cron tasks are in app/Cron + * * @package App\Console\Cron */ class Nightly extends Command diff --git a/app/Console/Cron/Weekly.php b/app/Console/Cron/Weekly.php index b5f9e652..d41c021d 100644 --- a/app/Console/Cron/Weekly.php +++ b/app/Console/Cron/Weekly.php @@ -3,17 +3,20 @@ namespace App\Console\Cron; use App\Console\Command; -use App\Events\CronMonthly; +use App\Events\CronWeekly; /** * This just calls the CronWeekly event, so all of the - * listeners, etc can just be called to run those tasks + * listeners, etc can just be called to run those tasks. + * + * The actual cron tasks are in app/Cron + * * @package App\Console\Cron */ class Weekly extends Command { - protected $signature = 'cron:monthly'; - protected $description = 'Run the monthly cron tasks'; + protected $signature = 'cron:weekly'; + protected $description = 'Run the weekly cron tasks'; protected $schedule; /** @@ -22,6 +25,6 @@ class Weekly extends Command public function handle(): void { $this->redirectLoggingToStdout('cron'); - event(new CronMonthly()); + event(new CronWeekly()); } }