Unix: How can I run a bash script continuously every N seconds even if it fails?