]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 7 Nov 2023 19:12:20 +0000 (20:12 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 7 Nov 2023 19:12:20 +0000 (20:12 +0100)
.idea/dataSources.local.xml
.idea/workspace.xml
scripts/cron.php [new file with mode: 0644]
scripts/cron/cron.php

index 0cedba027551f044353a3df177cfb52c7a6144f7..3521f9c1419e11569de8c3b39a2bb891a30f55a4 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="dataSourceStorageLocal" created-in="IU-232.10072.27">
+  <component name="dataSourceStorageLocal" created-in="IU-232.10203.10">
     <data-source name="LFY(3).db" uuid="e5a3291d-855f-44b2-be41-76fe6b0c2136">
       <database-info product="SQLite" version="3.25.1" jdbc-version="2.1" driver-name="SQLite JDBC" driver-version="3.25.1" dbms="SQLITE" exact-version="3.25.1" exact-driver-version="3.25">
         <identifier-quote-string>&quot;</identifier-quote-string>
index cb46bb8c6f72b1ad1918b6a8f649740edc9e6369..9b7d4cf989a7051a0c233885157e3ac403554eb8 100644 (file)
@@ -5,11 +5,8 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
+      <change afterPath="$PROJECT_DIR$/scripts/cron.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/config/global.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/global.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/backyard.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/automodes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/automodes.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1696084066464" duration="645000" />
       <workItem from="1696152670454" duration="699000" />
       <workItem from="1697390209410" duration="2209000" />
-      <workItem from="1697741970447" duration="2021000" />
+      <workItem from="1697741970447" duration="3265000" />
+      <workItem from="1699383159431" duration="732000" />
     </task>
     <task id="LOCAL-00502" summary=".">
       <created>1641726946298</created>
       <option name="project" value="LOCAL" />
       <updated>1687259667913</updated>
     </task>
-    <option name="localTasksCounter" value="598" />
+    <option name="localTasksCounter" value="599" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
diff --git a/scripts/cron.php b/scripts/cron.php
new file mode 100644 (file)
index 0000000..d16a690
--- /dev/null
@@ -0,0 +1,7 @@
+<?php
+require_once "import.php";
+require_once "./cron/cron.php";
+
+cronSqueezeFavorites(0);
+cronSqueezeCheckPlayers(0);
+cronXPlanet(0);
\ No newline at end of file
index 71b0f0eb7cd31a2ea12463c1705435601394f3e1..00adc6268f4e1d69d3c77c792074906deba49d10 100644 (file)
@@ -183,7 +183,7 @@ function cronSqueezeCheckPlayers($cronmin) {
        _logSection('Check squeezebox players');
 }
 
-function FGcronWeather($cronmin) {
+function cronWeather($cronmin) {
        _logSection('Weather');
        getWeather();
 }