Fix dev composer and update cron script
All checks were successful
Deploy Spot / deploy (push) Successful in 34s
All checks were successful
Deploy Spot / deploy (push) Successful in 34s
This commit is contained in:
5
cli/cron.sh
Normal file → Executable file
5
cli/cron.sh
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user