Run cron command twice
http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html contains a hint that cron should run twice. This is at least true for the command php bin/magento cron:run.
Two questions:
-
Is this also true for the other two mentioned commands:
<your Magento install dir>/update/cron.phpphp bin/magento setup:cron:runDo they also have to run twice? -
Shouldn't the example code on that page thus actually list the command
*/1 * * * * php -c /etc/php5/cli/apache2 /var/www/html/magento2/bin/magento cron:runtwice?
Yes, cron must run twice in all cases. I'll check to make sure it's mentioned everywhere
For #2, no. cron run from a crontab runs every minute (in that example); thus, you must wait two minutes after every eligible change. But you shouldn't list a command in a crontab twice.
I double-checked and this note is present in all the topics about cron. Closing. Please reopen if you disagree.