Flink batch continuous running
<p>I have flink batch job. What is the best way to run continuously? (It needs to restart when it's finished because the streaming job can provide new data)</p>

<p>I want to restart the job immediately if it's finished.</p>

<ul>
<li>Infinite cycle and inside call the tasks?</li>
<li>Make a bash script and always push the job into the jobmanager? (I think it's a really big resource waste)</li>
</ul>

<p>Thanks</p>