Expand \n
This commit is contained in:
parent
9b3e1af9d6
commit
b0a87f7c76
2
entry.sh
2
entry.sh
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
echo $@
|
echo $@
|
||||||
|
|
||||||
echo "Host ${SERVER}\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
|
echo -e "Host ${SERVER}\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
|
||||||
|
|
||||||
if [[ -z $@ ]]; then
|
if [[ -z $@ ]]; then
|
||||||
crontab -l ; echo "${SCHEDULE} ${COMMAND} > /proc/1/fd/1 2> /proc/1/fd/2" | crontab
|
crontab -l ; echo "${SCHEDULE} ${COMMAND} > /proc/1/fd/1 2> /proc/1/fd/2" | crontab
|
||||||
|
|
Loading…
Reference in New Issue