How to update drupal by drush automatically In common use,after typing "drush up drupal" it need type "yes" for confirm.If I need to use Linux's cron to run drush automatically,how to bypassing the confirm part?
Updating Drupal Core to the latest version e.g. currently Drupal 8

drush up drupal -y


Updating a specific Drupal Core Version.

drush up drupal-7 -y