crontab.xml 1.3 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License").
  7. * You may not use this file except in compliance with the License.
  8. * A copy of the License is located at
  9. *
  10. * http://aws.amazon.com/apache2.0
  11. *
  12. * or in the "license" file accompanying this file. This file is distributed
  13. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  14. * express or implied. See the License for the specific language governing
  15. * permissions and limitations under the License.
  16. */
  17. -->
  18. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
  19. <group id="default">
  20. <job name="get_amazon_capture_updates" instance="Amazon\Payment\Cron\GetAmazonCaptureUpdates" method="execute">
  21. <schedule>*/5 * * * *</schedule>
  22. </job>
  23. <job name="get_amazon_authorization_updates" instance="Amazon\Payment\Cron\GetAmazonAuthorizationUpdates" method="execute">
  24. <schedule>*/5 * * * *</schedule>
  25. </job>
  26. <job name="amazon_payments_process_queued_refunds" instance="Amazon\Payment\Cron\ProcessAmazonRefunds" method="execute">
  27. <schedule>*/5 * * * *</schedule>
  28. </job>
  29. </group>
  30. </config>