title: Based on user condition send emails in Laravel
body: <p>I have a checkbox in dashboard.</p>
  
  <blockquote>
    <p>Case checked: then run a cron job.</p>
    
    <p>Case unchecked: dont run the cron job.</p>
  </blockquote>
  
  <p>So the condition in controller: </p>
  
  <pre><code>if($checked){
  
    SendEmail::dispatch($users); 
  }
  </code></pre>
  
  <p>My question is how should I go about this store the checkbox state on database or is there any other approach ? </p>