#!/bin/bash
while true
do
	clear
    printf '\e[3J'
    date
    python -m scrapy crawl FreeEyeOut
    sleep 15
done

#!/bin/bash
set -e
while true
do
	clear
    printf '\e[3J'
    date
    python -m scrapy crawl FreeEyeOut
    sleep 30
done

Set script to halt on error
Set script to halt on error
