Shell infinite loop to execute at specific time
<p>I have access to a Linux CentOS box.  (I can't use crontab sadly)</p>

<p>When I need to run a task everyday I have just created a infinite loop with a sleep.  (it runs, sleeps ~24 hours and then runs again)</p>

<pre><code>#!/bin/sh


while :
do
    /home/sas_api_emailer.sh |&amp; tee first_sas_api

sleep 1438m
done
</code></pre>

<p>Recently I have a task that I need to run at a specific time everyday 6:00 am (I can't use crontab)</p>

<p>How can I create an infinite loop that will only execute @ 6:00 am?</p>