I would like to override some cron jobs of native crontab.xml
for example,
vendor/amzn/amazon-pay-and-login-magento-2-module/src/Payment/etc/crontab.xml
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<group id="default">
<job name="get_amazon_capture_updates" instance="Amazon\Payment\Cron\GetAmazonCaptureUpdates" method="execute">
<schedule>*/5 * * * *</schedule>
</job>
<job name="get_amazon_authorization_updates" instance="Amazon\Payment\Cron\GetAmazonAuthorizationUpdates" method="execute">
<schedule>*/5 * * * *</schedule>
</job>
<job name="amazon_payments_process_queued_refunds" instance="Amazon\Payment\Cron\ProcessAmazonRefunds" method="execute">
<schedule>*/5 * * * *</schedule>
</job>
</group>
</config>
I've created a very simple extension here
app/code/CustomVendor/Cron/
with file
app/code/CustomVendor/Cron/etc/crontab.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<group id="default">
<job name="get_amazon_capture_updates" instance="Amazon\Payment\Cron\GetAmazonCaptureUpdates" method="execute">
<schedule>0 1 * * 1</schedule>
</job>
<job name="get_amazon_authorization_updates" instance="Amazon\Payment\Cron\GetAmazonAuthorizationUpdates" method="execute">
<schedule>0 1 * * 1</schedule>
</job>
<job name="amazon_payments_process_queued_refunds" instance="Amazon\Payment\Cron\ProcessAmazonRefunds" method="execute">
<schedule>0 1 * * 1</schedule>
</job>
<job name="magento_newrelicreporting_cron" instance="Magento\NewRelicReporting\Model\Cron" method="runCron">
<schedule>0 2 * * 1</schedule>
</job>
</group>
</config>
I ran the commands:
php bin/magento setup:upgrade
php bin/magento cron:run
php bin/magento setup:cron:run
Checked cron_schedule table. As I see it does not help.
What I did wrong. Please help.