• Run Drupal 8 Drush and Cronjob with Crontab

    Run crontab in your terminal root@yoursite:~# crontab -e This will open a text editor where you can set the cron timings and commands. Create a new entry like below: 0 1 * * * /var/www/html/drupal8-project/vendor/bin/drush --root /var/www/html/drupal8-project/web/ core-cron -v > /var/log/drupal-8-cron.log This will run the drush that will call drupal 8 cronjob everyday at 1am and create a log file named "drupal-8-cron.log"