Project

General

Profile

Revision 5bee87a1

Added by Julien Enselme about 10 years ago

d7-all-drush-sleep.sh only execute cron with a pause of a given time.

View differences:

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

Also available in: Unified diff