title: How can i use scheduler in seconds manner in Laravel 5.#
body: <p>there i am trying to schedule some task in larave, but i find it hard to schedule my task in every 20 seconds. Checking laravel doc. for <a href="https://laravel.com/docs/5.4/scheduling#defining-schedules" rel="noreferrer">laravel schedular</a>, it didn't have such method for seconds. While there is 
   ->cron('* * * * * *') "Run the task on a custom Cron schedule", but it also couldn't solve my problem.</p>
  
  <p>Below is my code in kernal.php file for scheduling.</p>
  
  <pre><code>protected function schedule(Schedule $schedule)
  { 
      // need to replace everyMinute() by some other method which can run it every 20 sec
  
      $schedule-&gt;call('path\to\controller@method)-&gt;everyMinute();
  
     // also tried cron() but didn't workout.
      $schedule-&gt;call('path\to\controller@method)-&gt;cron(*/20 * * * * *);
  }    
  </code></pre>
  
  <p>Thanks.</p>