Révision 5bee87a1
Ajouté par Julien Enselme il y a plus de 9 ans
bin/d7-all-drush-sleep.sh | ||
---|---|---|
10 | 10 |
for dir in $(find $d7_dir_sites -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do |
11 | 11 |
cd $dir |
12 | 12 |
echo $dir |
13 |
drush "$@"
|
|
14 |
sleep 60
|
|
13 |
drush -q cron
|
|
14 |
sleep $1
|
|
15 | 15 |
done |
Formats disponibles : Unified diff
d7-all-drush-sleep.sh only execute cron with a pause of a given time.