#!/bin/bash
x=$(dirname "$0")
ps cax | grep 'python3' > /dev/null
if [ $? -ne 0 ]; then
  nohup python3 $x/receive.py > /tmp/receive.nohup.out &
  echo 'Levantou receive' >> /tmp/log_fila.log
fi

echo `date` >> /tmp/log_fila.log
