We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be0a568 commit 0b2f8fbCopy full SHA for 0b2f8fb
bin/read-all-feeds
@@ -1,7 +1,14 @@
1
-#!/usr/bin/env bash
2
-dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
+#!/usr/bin/env sh
+
3
+# This do not work when running through docker compose exec.
4
+# It defaults to /home/deploy and not the working dir.
5
+#
6
+#dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
7
8
+# So for now lets assume we always are inside an ITKDev docker cotainer.
9
+dir=/app/bin
10
11
# Read all feeds one by one to isoloate any fatal errors thrown when reading a feed.
12
for id in $($dir/console events:feed:read --list | grep '^id:' | sed 's/^id: *//'); do
- $dir/console events:feed:read --id=$id
13
+ php -d memory_limit=-1 $dir/console events:feed:read --id=$id
14
done
0 commit comments