diff --git a/backend/cronRouter.php b/backend/cronRouter.php index c05d6fc..2a05d9c 100644 --- a/backend/cronRouter.php +++ b/backend/cronRouter.php @@ -135,7 +135,7 @@ function job_schedule_availability() { } } $schedules_check["users"] = $schedules_users; - $profiles = $db->select("SELECT id FROM `".DB_PREFIX."_profiles`"); + $profiles = $db->select("SELECT id FROM `".DB_PREFIX."_profiles` WHERE `manual_mode` = 0"); foreach ($profiles as $profile) { if(!in_array($profile["id"],$schedules_users)){ $availability->change(0, $profile["id"], false); @@ -203,4 +203,4 @@ function cronRouter (FastRoute\RouteCollector $r) { apiResponse(["excuted_actions" => $executed_actions]); } ); -} \ No newline at end of file +}