From f4d0db3c67127919f431459aa1e430cab4e6d380 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 17 Nov 2022 19:57:52 +0100 Subject: Change scheduler from closures to artisan commands --- app/Console/Commands/SetWatchingCalender.php | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app/Console/Commands/SetWatchingCalender.php (limited to 'app/Console/Commands/SetWatchingCalender.php') diff --git a/app/Console/Commands/SetWatchingCalender.php b/app/Console/Commands/SetWatchingCalender.php new file mode 100644 index 0000000..9e4bfa7 --- /dev/null +++ b/app/Console/Commands/SetWatchingCalender.php @@ -0,0 +1,41 @@ +createUser( 'll-' ); + echo "setIsWatchingForAll(): \n"; + $helper->setIsWatchingForAll(); + echo "\nsetCalendarForAll(): \n"; + $helper->setCalendarForAll(); + + return Command::SUCCESS; + + } +} -- cgit v1.2.3