Skip to content

Instantly share code, notes, and snippets.

@cristiroma
Last active November 17, 2020 16:58
Show Gist options
  • Save cristiroma/3c3d7298989778b9959b6e4522627096 to your computer and use it in GitHub Desktop.
Save cristiroma/3c3d7298989778b9959b6e4522627096 to your computer and use it in GitHub Desktop.
Drush CRON
# Run every hour at :15 and :45
15,45 * * * * apache /var/www/html/web/vendor/bin/drush --uri=https://example.com cron
# Run every 5 minutes and suppress output
*/5 * * * * apache /var/www/html/web/vendor/bin/drush --uri=https://example.com cron > /dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment