Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
M2 content provisioning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TechDivision Public
M2 content provisioning
Commits
99a0c114
Commit
99a0c114
authored
8 months ago
by
Eduarda Lentz Rodrigues da Silva
Browse files
Options
Downloads
Patches
Plain Diff
ZERO-162 Update cron job and schedule
parent
69fcf5ed
No related branches found
No related tags found
1 merge request
!46
ZERO-162-changes
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
etc/adminhtml/system.xml
+4
-0
4 additions, 0 deletions
etc/adminhtml/system.xml
etc/cron_groups.xml
+31
-0
31 additions, 0 deletions
etc/cron_groups.xml
etc/crontab.xml
+2
-2
2 additions, 2 deletions
etc/crontab.xml
with
37 additions
and
2 deletions
etc/adminhtml/system.xml
+
4
−
0
View file @
99a0c114
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
etc/cron_groups.xml
0 → 100644
+
31
−
0
View file @
99a0c114
<?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>
This diff is collapsed.
Click to expand it.
etc/crontab.xml
+
2
−
2
View file @
99a0c114
<?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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment