a guest Jun 20th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # MagentoFrameworkCodeGeneratedFiles has a concurrency problem
- # Create regenerate flag and launch parallel commands that try to regenerate at the same time
- # This is a real case, cron:run launches stand alone processes in parallel
- # Created by magento composer installer upon code install or module enable/disable
- touch var/.regenerate
- # Launch parallel commands
- # Error differs each execution, sometimes it even works
- bin/magento cron:run --group=ddg_automation --bootstrap=standaloneProcessStarted=1 2>&1 &
- bin/magento cron:run --group=index --bootstrap=standaloneProcessStarted=1 2>&1 &
- echo "All done"
RAW Paste Data