title: Laravel 7: Task schedule command if column has date and matched with current date
body: <p>I want to create task schedule command. My critieria is:
  I have a customer table where customers have <code>due_date</code> column. So if this column is not null and has date, the date will match current date and send sms to customer mobile number.</p>
  <p>scheduleSms Command File:</p>
  <pre><code>protected $signature = 'send:scheduleSms';
   public function handle()
      {
          $customer = Customer::where('due_date', '!=', null)-&gt;orderBy('id', 'asc')-&gt;get();
          $today = Carbon::now()-&gt;format('d-m-Y');
  
          foreach($customer as $row){
              if($row-&gt;due_date == $today){
              $id = 1;
              $sms_settings = SmsSetting::findOrFail($id);
              if($sms_settings-&gt;schedule_active == 1){
                  $name = $row-&gt;name;
                  $date = $row-&gt;due_date;
                  $total_due = number_format($row-&gt;due);
                  $msgs =  $sms_settings-&gt;schedule_sms;
                  $find = ['#name#','#date#', '#total_due#',];
                  $replacement = [$name, $date, $total_due  ];
                  $msg = str_replace( $find, $replacement, $msgs);
                  $send= SMS::shoot($row-&gt;mobile, $msg);
              }
  
              }
          }
      }
  </code></pre>
  <p>Kernel.php</p>
  <pre><code>protected $commands = [
          'App\Console\Commands\scheduleSms'
      ];
  protected function schedule(Schedule $schedule)
      {
          $schedule-&gt;command('send:scheduleSms')
          -&gt;everyMinute()
          -&gt;runInBackground()
          -&gt;timezone('Asia/Dhaka');
      }
  </code></pre>
  <p>Suppose Today I scheduled a customer due_date to 2022-08-20, then <code>$send= SMS::shoot($customer-&gt;mobile, $msg);</code> this will execute only once for each customer at 2022-08-20. Also If I have many customers due date, it sends all sms at once which may crush for huge amounts.</p>
  <p>Can you please modify the code, so that it takes 2/3second time gap between each sms and send only one sms each customer.</p>