title: Laravel Create cron job on shared hosting
body: <p>I started to learnig "Scheduling task" chapter in Laravel docs. On localhost xampp project I created command which delete last inserted row in table </p>
  
  <pre><code>class em extends Command
  {
  /**
   * The name and signature of the console command.
   *
   * @var string
   */
  protected $signature = 'my:em';
  
  /**
   * The console command description.
   *
   * @var string
   */
  protected $description = 'Delete task';
  
  /**
   * Create a new command instance.
   *
   * @return void
   */
  public function __construct()
  {
      parent::__construct();
  }
  
  /**
   * Execute the console command.
   *
   * @return mixed
   */
  public function handle()
  {
  
      DB::table('task')-&gt;orderBy('id', 'desc')-&gt;limit(1)-&gt;delete();
      echo 'done';
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Then I added it to Kernel</p>
  
  <pre><code>class Kernel extends ConsoleKernel
  {
  /**
   * The Artisan commands provided by your application.
   *
   * @var array
   */
  protected $commands = [
      //
  ];
  
  /**
   * Define the application's command schedule.
   *
   * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
   * @return void
   */
  protected function schedule(Schedule $schedule)
  {
      $schedule-&gt;command('my:em')-&gt;everyMinute();
  
  
  }
  
  /**
   * Register the commands for the application.
   *
   * @return void
   */
  protected function commands()
  {
      $this-&gt;load(__DIR__.'/Commands');
  
      require base_path('routes/console.php');
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Then I created .bat file with <strong>php artisan schedule:run</strong> command and added it to task manager in windows. Everything worked fine.</p>
  
  <p>Next I uploaded this project to shared server with ssh access and cron jobs feature. I want to use <strong>php artisan schedule:run</strong> but I receive messsage:<strong>No scheduled commands are ready to run</strong>. </p>
  
  <p>On the other hand The server has a in-build creator of cron jobs. I can create task. I must just set date and time and fullfill the field translated in English for "command" (see picture below). I have no idea what should I input here. Please help (appson is my domain name).</p>
  
  <p><a href="https://i.stack.imgur.com/dshBB.png" rel="nofollow noreferrer">picture</a></p>