Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 6e73fc9b authored by Nicolas's avatar Nicolas
Browse files

Mise en place d'un cron group

parent 25fab431
Branches master
Tags 1.5.2
No related merge requests found
Pipeline #469 failed
# Changelog
## [1.5.2] - 2020-05-02
### Added
- Mise en place d'un cron group
## [1.4.2] - 2020-04-19
### Added
- Ajout des paramétrages System.xml
......
......@@ -2,7 +2,7 @@
"name": "nicolasbejean/base",
"description": "Gestionnaire de base des modules de Nicolas Béjean",
"type": "magento2-module",
"version": "1.4.2",
"version": "1.5.2",
"require": {
"php": "~7.1.3||~7.2.0||~7.3.0",
"magento/framework": "102.0.*",
......@@ -14,7 +14,8 @@
"magento/module-theme": "101.0.*",
"magento/module-ui": "101.1.*",
"magento/module-variable": "100.3.*",
"magento/module-widget": "101.1.*"
"magento/module-widget": "101.1.*",
"magento/module-cron": "100.2.*"
},
"license": [
"OSL-3.0",
......
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/cron_groups.xsd">
<group id="nicolasbejean">
<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:framework:Module/etc/module.xsd">
<module name="NicolasBejean_Base" setup_version="1.4.2">
<module name="NicolasBejean_Base" setup_version="1.5.2">
<sequence>
<module name="Magento_Store"/>
<module name="Magento_Theme"/>
<module name="Magento_Variable"/>
<module name="Magento_Cron"/>
</sequence>
</module>
</config>
......@@ -32,70 +32,7 @@
color: #c9402f;
}
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
grid-template-areas: "collection slider";
}
.collection { grid-area: collection; }
.slider { grid-area: slider; }
.list {
margin: 0 auto;
width: 100%;
max-width: 380px;
user-select: none;
min-width: 80%;
min-height: 20vh;
background: radial-gradient(ellipse at center, #EB6A5A 0, #c9402f 100%);
border: 5px dashed white;
display: grid;
grid-template-rows: 1fr;
}
#collectionList {
grid-template-columns: 1fr 1fr;
grid-template-areas: ". .";
}
#sliderList {
grid-template-columns: 1fr;
grid-template-areas: ".";
}
.list__item {
transition: box-shadow 200ms ease-out, opacity 200ms ease-out;
border-radius: 6px;
background: #fff;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
margin: 10px;
cursor: grab;
}
.list__item:not(:last-child) {
margin-bottom: 7px;
}
.list__item.is-dragging {
box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
opacity: 0.8;
cursor: grabbing;
}
.list__item-content {
width: 100%;
padding: 10px 15px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: center;
}
.nicolasbejean-admin-base .list .actions {
text-align: center;
}
#collectionList .remove { display: none; }
#sliderList .remove { display: inline-block; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment