From ebbd1302d6beaa945e268e7958d285c9fa8630e2 Mon Sep 17 00:00:00 2001 From: Niels Sluijs Date: Tue, 6 Aug 2024 14:48:24 +0200 Subject: [PATCH] Correct quick start crontab entry (#6084) --- docs/cron.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cron.md b/docs/cron.md index 1ee522d8ec..e3a765ba84 100644 --- a/docs/cron.md +++ b/docs/cron.md @@ -8,7 +8,7 @@ Quick start If you just want to get started quickly, here is a crontab entry that will run cron once every hour at ten minutes after the hour: - 10 * * * * cd [DOCROOT] && /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 ../vendor/bin/drush --uri=your.drupalsite.org --quiet maint:status && /vendor/bin/drush --uri=your.drupalsite.org --quiet cron + 10 * * * * cd [DOCROOT] && /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 ../vendor/bin/drush --uri=your.drupalsite.org --quiet maint:status && /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 ../vendor/bin/drush --uri=your.drupalsite.org --quiet cron You should set up crontab to run your cron tasks as the same user that runs the web server; for example, if you run your web server as the user www-data: