export CURATOR_EXEC_DIR=/usr/local/elk/curator
export EXEC_DATE=`date +%Y_%m_%d_%H:%M:%S`

echo " "
echo "############################" >> ${CURATOR_EXEC_DIR}/curator.out
echo "##  ${EXEC_DATE} " >> ${CURATOR_EXEC_DIR}/curator.out
echo "############################" >> ${CURATOR_EXEC_DIR}/curator.out
echo " "

nohup curator ${CURATOR_EXEC_DIR}/curator.action.yml --config ${CURATOR_EXEC_DIR}/curator.conf.yml >> ${CURATOR_EXEC_DIR}/curator.out 2>&1 &

echo " "
