I recently encountered a task where I need the Cron to run every minute. Within ISP Manager and Drupal 8 I did it as follows.
Disable the Automated Cron module:
drush pm-uninstall automated_cron
Go to the ISP Manager. In the sidebar, click on "Scheduler
The next command will run the cron for Drupal 8:
export HOME=/var/www/user/data/www/site.ru/web; /usr/local/bin/drush cron --quiet --root=$HOME
Switch the schedule to expert mode. If we want the cron to start every minute - specify * everywhere.
Click Ok.
Now the cron or another command you specify will run every minute.
Top comments (0)