Bash Execute Command From String To Datetime