I am using the Magento Cloud, is there anyway to pause or temporary disable the cron job running on Magento?


2 Answers 2


You can add 'cron' =>['enabled' => 0], to app/etc/env.php to temporary disable the cron job

  1. Use SSH to log in to your environment.
  2. Disable cron jobs and stop active cron processes.
./vendor/bin/ece-tools cron:disable
  1. After you complete any required maintenance tasks, ensure that you enable the cron jobs again.
./vendor/bin/ece-tools cron:enable
  • Don't be suprised if you don't have this command available. It's only available on recent versions of ece-tools. Feb 17, 2021 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.