Log script runs.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
ig-images/
|
ig-images/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
log
|
||||||
|
|||||||
6
run.sh
6
run.sh
@@ -1,3 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
node sync.js "$(docker inspect -f {{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}} alo-db)"
|
LOG=/home/ppetru/instasync/log
|
||||||
|
|
||||||
|
cd $(dirname $0)
|
||||||
|
date >> ${LOG}
|
||||||
|
node sync.js "$(docker inspect -f {{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}} alo-db)" 2>&1 >> ${LOG}
|
||||||
|
|||||||
Reference in New Issue
Block a user