title: How to run laravel scheduler in ubuntu server
body: <p>I have setup a scheduled task to fire an artisan command like below:</p>
  
  <pre><code> */
  protected $commands = [
      'App\Console\Commands\GoogleAdsCronJob',
  ];
  
  /**
   * Define the application's command schedule.
   *
   * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
   * @return void
   */
  protected function schedule(Schedule $schedule)
  {
      $schedule-&gt;command('googleads:cron')
          -&gt;everyFiveMinutes()
          -&gt;appendOutputTo(self::LOG_PATH);
  }
  </code></pre>
  
  <p>Then the path in ubuntu server <code>/var/www/html/myproject</code> I ran the command:</p>
  
  <pre><code>* * * * * php /var/www/html/my-prject/artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>eventually nothing happened ? Logs are not saying anything!</p>