Projet

Général

Profil

Révision 7e5f306e

Ajouté par Julien Enselme il y a plus de 9 ans

Remove d7-all-drush-logged.sh with all its remaining usage.

Not needed any more. /home/assos/bin/d7-all-update-contrib.sh now relies on log.sh (in cron)

Voir les différences:

bin/d7-all-drush-logged.sh
1
#!/bin/sh
2

  
3
. /home/assos/bin/scripts-config.sh
4
. scripts-utils.sh
5

  
6
help="# ARGS: drush_command"
7

  
8
check_arguments $# 1 "$help"
9

  
10
cd $d7_dir_sites
11

  
12
for dir in $(find . -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do
13
    cd $dir
14
    current_date=$(date "+%Y-%m-%d_%Hh:%Mm")
15
    echo "======$current_date======" >> $d7_dir_log/$dir.log
16
    echo "Arguments are: $* " >> $d7_dir_log/$dir.log
17
    drush $* >> $d7_dir_log/$dir.log
18
    #To have the same caracters limit we needed 'end' that have 4 caracters, we used the Croate language for this ! LOL
19
    echo -e "=============KRAJ=============\n" >> $d7_dir_log/$dir.log
20
    cd -
21
done
bin/d7-all-update-contrib.sh
11 11

  
12 12
d7-all-dump-individual.sh auto
13 13

  
14
d7-all-drush-logged.sh -y upc --no-core
14
d7-all-drush.sh -y upc --no-core
15 15
d7-all-drush.sh -y updb
16 16

  
17 17
d7-all-drush.sh -y dis update

Formats disponibles : Unified diff