From: Vincent Date: Tue, 11 Feb 2020 15:20:21 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a24aeef216bd962028463b6e3245a7dac30cb695;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cb4de47..30c7cc4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,9 @@ + - + - @@ -797,14 +797,7 @@ - - - - 1574210671610 - 1574242924581 @@ -1142,7 +1135,14 @@ - @@ -1189,21 +1189,21 @@ - + - + - + - + diff --git a/scripts/cron/cron.php b/scripts/cron/cron.php index 9057c82..53f1c88 100644 --- a/scripts/cron/cron.php +++ b/scripts/cron/cron.php @@ -45,8 +45,9 @@ function cronXPlanet($cronmin) { $path = ROOT . '/tools/xplanet/'; $suncurve = $path . 'xplanet-suncurve'; + $earth = $path . 'xplanet-earth'; - `$suncurve`; + `$suncurve;$earth`; } function cronGuest($cronmin) diff --git a/tools/xplanet/xplanet-earth b/tools/xplanet/xplanet-earth new file mode 100644 index 0000000..6c39284 --- /dev/null +++ b/tools/xplanet/xplanet-earth @@ -0,0 +1,4 @@ +#!/bin/sh +month=$(date +%m) +ln -sf "/var/www/home/tools/xplanet/world.topo.bathy.2004$month.3x5400x2700.png" "/var/www/home/tools/xplanet/earth.png" +xplanet -config /var/www/home/tools/xplanet/config -longitude 2.3343236 -latitude 36 -geometry 300x300 -num_times 1 -output /var/www/home/images/earth.png \ No newline at end of file