Skip to content
Snippets Groups Projects
Commit 99a0c114 authored by Eduarda Lentz Rodrigues da Silva's avatar Eduarda Lentz Rodrigues da Silva
Browse files

ZERO-162 Update cron job and schedule

parent 69fcf5ed
No related branches found
No related tags found
1 merge request!46ZERO-162-changes
......@@ -32,6 +32,10 @@
<validate>validate-email</validate>
<backend_model>Magento\Config\Model\Config\Backend\Email\Address</backend_model>
</field>
<field id="cron_schedule" translate="label comment" type="text" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<label>Cron Schedule</label>
<comment>Specify the cron schedule in crontab format (e.g., */5 * * * *)</comment>
</field>
</group>
</section>
</system>
......
<?xml version="1.0"?>
<!--
/**
* Copyright (c) 2024 TechDivision GmbH <info@techdivision.com> - TechDivision GmbH
* All rights reserved
*
* This product includes proprietary software developed at TechDivision GmbH, Germany
* For more information see http://www.techdivision.com/
*
* To obtain a valid license for using this software please contact us at
* license@techdivision.com
*/
/**
* @copyright Copyright (c) 2024 TechDivision GmbH <info@techdivision.com> - TechDivision GmbH
* @link http://www.techdivision.com/
*
* @author Eduarda Lentz Rodrigues da Silva <e.lentzrodriguesdasilva@techdivision.com>
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/cron_groups.xsd">
<group id="changed_cms_block">
<schedule_generate_every>1</schedule_generate_every>
<schedule_ahead_for>4</schedule_ahead_for>
<schedule_lifetime>2</schedule_lifetime>
<history_cleanup_every>10</history_cleanup_every>
<history_success_lifetime>60</history_success_lifetime>
<history_failure_lifetime>600</history_failure_lifetime>
<use_separate_process>1</use_separate_process>
</group>
</config>
<?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">
<group id="changed_cms_block">
<job instance="Firegento\ContentProvisioning\Cron\InconsistenciesInBlockEmail" method="execute" name="content_provisioning_cron">
<schedule>* * * * *</schedule>
<config_path>general/ident_content_provisioning/cron_schedule</config_path>
</job>
</group>
</config>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment