mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Cron Update
This commit is contained in:
1 parent
dffaf8eb2e
commit
3aab42d081
3 files changed
+12
-4
No files matched your search
+6
-3
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
class CronApi extends ApiController {
|
||||
|
||||
public function clean(){
|
||||
@@ -8,7 +8,10 @@ class CronApi extends ApiController {
|
||||
}
|
||||
|
||||
public function fetch(){
|
||||
echo (new VirtualDeviceManager)->fetch('');
|
||||
//echo (new VirtualDeviceManager)->fetch('');
|
||||
echo (new Covid)->fetch('');
|
||||
echo (new OpenWeatherMap)->fetch('');
|
||||
|
||||
$this->response(['Value' => 'OK']);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user