From 9ddfb4c6c50418e16fdd776ddbf518f5d2de1589 Mon Sep 17 00:00:00 2001 From: Hans-Joachim Michl Date: Wed, 2 Aug 2017 18:16:25 +0200 Subject: [PATCH] Make it easier to add the setting to the cron line by adding the -d parameter instead of (the need to) specify a whole php.ini path and file. --- en/console-and-shells/cron-jobs.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/console-and-shells/cron-jobs.rst b/en/console-and-shells/cron-jobs.rst index 174bc13212..605a0183aa 100644 --- a/en/console-and-shells/cron-jobs.rst +++ b/en/console-and-shells/cron-jobs.rst @@ -33,9 +33,9 @@ might not work. Instead you can use register_argc_argv has to be turned on by including ``register_argc_argv = 1`` in your php.ini. If you cannot change register_argc_argv globally, - you can tell the cron job to use your own configuration file (php.ini) by - specifying it with ``-c /full/path/to/root/php.ini``. Example: ``php -c - /full/path/to/root/php.ini /full/path/to/root/bin/cake.php myshell + you can tell the cron job to use your own configuration by + specifying it with ``-d register_argc_argv=1`` parameter. Example: ``php + -d register_argc_argv=1 /full/path/to/root/bin/cake.php myshell myparam`` .. meta::