11 lines
215 B
Bash
11 lines
215 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Se positionner sur la racine du projet
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
cd ${DIR}
|
||
|
cd ..
|
||
|
DIR=$(pwd)
|
||
|
|
||
|
|
||
|
# Executer la tache cron
|
||
|
php bin/console app:Cron --env=prod
|