adds timestamps to migration process

This commit is contained in:
Jean-Christophe Vanhalle
2023-08-18 12:17:59 +02:00
parent 5d53a19803
commit 297df423c7

View File

@@ -6,6 +6,7 @@ set -a
. "${PWD}/env_files/migrate-db.env" . "${PWD}/env_files/migrate-db.env"
set +a set +a
+date +%H-%M-%S
docker exec --user www-data "${PREFIX}-app" /bin/sh -c ' docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
wp plugin install wp-migrate-db && \ wp plugin install wp-migrate-db && \
wp plugin activate wp-migrate-db && \ wp plugin activate wp-migrate-db && \
@@ -16,3 +17,4 @@ docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
--exclude-post-revisions \ --exclude-post-revisions \
--exclude-spam --exclude-spam
' '
+date +%H-%M-%S