We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DDEV_PHP_VERSION
1 parent a3d453f commit 3949b2bCopy full SHA for 3949b2b
README.md
@@ -96,9 +96,10 @@ Every minute, it writes the current time (UTC timezone) to `./time.log`.
96
97
- Create a `./.ddev/web-build/drupal.cron` file
98
- Add the following code to run the drupal scheduler every 10 minutes and write to a log file.
99
+ - `DDEV_PHP_VERSION` value must match your project's PHP version.
100
101
```cron
-*/10 * * * * IS_DDEV_PROJECT=true /var/www/html/vendor/bin/drush cron | tee -a /var/www/html/cron-log.txt
102
+*/10 * * * * IS_DDEV_PROJECT=true DDEV_PHP_VERSION=8.1 /var/www/html/vendor/bin/drush cron | tee -a /var/www/html/cron-log.txt
103
```
104
105
### Laravel cron
0 commit comments