Fix dev composer and update cron script
All checks were successful
Deploy Spot / deploy (push) Successful in 34s

This commit is contained in:
2026-05-27 17:59:58 +02:00
parent 7ead18601c
commit 313dab26a2
4 changed files with 43 additions and 3 deletions

5
cli/cron.sh Normal file → Executable file
View File

@@ -1,4 +1,5 @@
#!/bin/bash
wget -qO- https://spot.lutran.fr/index.php?a=update_project > /dev/null
cd "$(dirname "$0")/.." || exit 1
php -f dist/index.php a=update_project > /dev/null
#Crontab job: 0 * * * * . /var/www/spot/spot_cron.sh > /dev/null
#Crontab job: 0 * * * * /path/to/spot/cli/cron.sh > /dev/null