title: Cron Bundle fail run bin/console on symfony 4
body: <p>I'm trying to run a command through a cron job in a Symfony 4 app.</p>
  
  <p>I have created my command and it run success when I run manually from the console (from my symfony root directory)</p>
  
  <pre><code>C:\xampp\htdocs\MY-PROJECT&gt;php bin/console MY-COMMAND /*It works fine*/
  </code></pre>
  
  <p>I installed CronBundle (<a href="https://packagist.org/packages/cron/cron-bundle" rel="nofollow noreferrer">https://packagist.org/packages/cron/cron-bundle</a>) and I registered a cron job from the console:</p>
  
  <pre><code>C:\xampp\htdocs\MY-PROJECT&gt;php bin/console cron:create
  </code></pre>
  
  <p>The cron job was successfully create in the database, and I try to run:</p>
  
  <pre><code>C:\xampp\htdocs\MY-PROJECT&gt;php bin/console cron:run"
  time: 0.15687298774719
  </code></pre>
  
  <p>The cron job seems to run but it doesn't do anything (but the console show the time elapsed). The cron_report database table report the error => "Could not open input file: bin/console"</p>
  
  <p>It seems that the cron bundle run the command from a different directory than the one I use when I run the command manually (the root directory of the project).</p>
  
  <p>I tried to run from the console "php bin/console cron:start", but a error message is thrown => "This command needs the pcntl extension to run." I'm running xampp on windows</p>