title: laravel add scheduler dynamically
body: <p>I have a system where the user can create background tasks via the UI.<br>
  The task interval are every few hours (user choice in the UI).</p>
  
  <p>when the user creates a task via the ui i want to add it to the scheduler dynamically.</p>
  
  <p>As the example states, this is static and not dynamic.</p>
  
  <pre><code>protected function schedule(Schedule $schedule)
  {
      $schedule-&gt;call(function () {
          DB::table('recent_users')-&gt;delete();
      })-&gt;daily();
  }
  </code></pre>
  
  <p>Is it possible? if not, what are the alternatives?</p>
  
  <p>Thanks</p>