Create cron group and assign it to a custom module The Next CEO of Stack OverflowHow to create a cron job programatically?Magento 2 Custom cron job is ignoredSet cron job to module stock statusHow to create custom Module Development in magento 2 from Scratch?Magento 2: cron group run all cronsCreate Order programatically, not working via cronHow to execute cron jobs automatically every week in magento 2 custom module?Custom cron not working in magento 2.2.6How to automatically run custom module CRON only?Cron in my custom module is not running

Which one is the true statement?

How to get the last not-null value in an ordered column of a huge table?

Expectation in a stochastic differential equation

Does the Idaho Potato Commission associate potato skins with healthy eating?

What was Carter Burke's job for "the company" in Aliens?

Can I board the first leg of the flight without having final country's visa?

A question about free fall, velocity, and the height of an object.

Easy to read palindrome checker

Is fine stranded wire ok for main supply line?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Can this note be analyzed as a non-chord tone?

(How) Could a medieval fantasy world survive a magic-induced "nuclear winter"?

Expressing the idea of having a very busy time

Redefining symbol midway through a document

Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?

Does Germany produce more waste than the US?

How to find image of a complex function with given constraints?

Can you teleport closer to a creature you are Frightened of?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

Reshaping json / reparing json inside shell script (remove trailing comma)

Help! I cannot understand this game’s notations!

Is dried pee considered dirt?

How to avoid supervisors with prejudiced views?



Create cron group and assign it to a custom module



The Next CEO of Stack OverflowHow to create a cron job programatically?Magento 2 Custom cron job is ignoredSet cron job to module stock statusHow to create custom Module Development in magento 2 from Scratch?Magento 2: cron group run all cronsCreate Order programatically, not working via cronHow to execute cron jobs automatically every week in magento 2 custom module?Custom cron not working in magento 2.2.6How to automatically run custom module CRON only?Cron in my custom module is not running










0















As the title suggests, how can I create a cron group and assign it to the custom module in magento 1??










share|improve this question






















  • means you want to create cron run for custom extension?

    – Rakesh Donga
    2 days ago












  • Yes but I want that it works with an its cron groups.

    – Mastafis
    2 days ago















0















As the title suggests, how can I create a cron group and assign it to the custom module in magento 1??










share|improve this question






















  • means you want to create cron run for custom extension?

    – Rakesh Donga
    2 days ago












  • Yes but I want that it works with an its cron groups.

    – Mastafis
    2 days ago













0












0








0








As the title suggests, how can I create a cron group and assign it to the custom module in magento 1??










share|improve this question














As the title suggests, how can I create a cron group and assign it to the custom module in magento 1??







magento-1.9 crontab magento-cron






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









MastafisMastafis

204




204












  • means you want to create cron run for custom extension?

    – Rakesh Donga
    2 days ago












  • Yes but I want that it works with an its cron groups.

    – Mastafis
    2 days ago

















  • means you want to create cron run for custom extension?

    – Rakesh Donga
    2 days ago












  • Yes but I want that it works with an its cron groups.

    – Mastafis
    2 days ago
















means you want to create cron run for custom extension?

– Rakesh Donga
2 days ago






means you want to create cron run for custom extension?

– Rakesh Donga
2 days ago














Yes but I want that it works with an its cron groups.

– Mastafis
2 days ago





Yes but I want that it works with an its cron groups.

– Mastafis
2 days ago










1 Answer
1






active

oldest

votes


















0














Creating a custom cron job
In your module etc/config.xml



<config> 
..........
<crontab>
<jobs>
<cron_cronmethod>
<schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
<run><model>cron/cron::Cronmethod</model></run>
</cron_cronmethod>
</jobs>
</crontab>
............
</config>


after add your logic in observer file



<?php
class Yournamespace_Yourextension_Model_Cron
public function Cronmethod()
//do something







share|improve this answer

























  • Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

    – Mastafis
    2 days ago











  • @Mastafis this is stanadard way to spcific cron run for custom extension

    – Rakesh Donga
    2 days ago











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267954%2fcreate-cron-group-and-assign-it-to-a-custom-module%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Creating a custom cron job
In your module etc/config.xml



<config> 
..........
<crontab>
<jobs>
<cron_cronmethod>
<schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
<run><model>cron/cron::Cronmethod</model></run>
</cron_cronmethod>
</jobs>
</crontab>
............
</config>


after add your logic in observer file



<?php
class Yournamespace_Yourextension_Model_Cron
public function Cronmethod()
//do something







share|improve this answer

























  • Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

    – Mastafis
    2 days ago











  • @Mastafis this is stanadard way to spcific cron run for custom extension

    – Rakesh Donga
    2 days ago















0














Creating a custom cron job
In your module etc/config.xml



<config> 
..........
<crontab>
<jobs>
<cron_cronmethod>
<schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
<run><model>cron/cron::Cronmethod</model></run>
</cron_cronmethod>
</jobs>
</crontab>
............
</config>


after add your logic in observer file



<?php
class Yournamespace_Yourextension_Model_Cron
public function Cronmethod()
//do something







share|improve this answer

























  • Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

    – Mastafis
    2 days ago











  • @Mastafis this is stanadard way to spcific cron run for custom extension

    – Rakesh Donga
    2 days ago













0












0








0







Creating a custom cron job
In your module etc/config.xml



<config> 
..........
<crontab>
<jobs>
<cron_cronmethod>
<schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
<run><model>cron/cron::Cronmethod</model></run>
</cron_cronmethod>
</jobs>
</crontab>
............
</config>


after add your logic in observer file



<?php
class Yournamespace_Yourextension_Model_Cron
public function Cronmethod()
//do something







share|improve this answer















Creating a custom cron job
In your module etc/config.xml



<config> 
..........
<crontab>
<jobs>
<cron_cronmethod>
<schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
<run><model>cron/cron::Cronmethod</model></run>
</cron_cronmethod>
</jobs>
</crontab>
............
</config>


after add your logic in observer file



<?php
class Yournamespace_Yourextension_Model_Cron
public function Cronmethod()
//do something








share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago

























answered 2 days ago









Rakesh DongaRakesh Donga

2,258316




2,258316












  • Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

    – Mastafis
    2 days ago











  • @Mastafis this is stanadard way to spcific cron run for custom extension

    – Rakesh Donga
    2 days ago

















  • Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

    – Mastafis
    2 days ago











  • @Mastafis this is stanadard way to spcific cron run for custom extension

    – Rakesh Donga
    2 days ago
















Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

– Mastafis
2 days ago





Ok Thank you but in this way I think that it would run with default cron. In which way can I create new crongroup and execute this cron on new crongroup?

– Mastafis
2 days ago













@Mastafis this is stanadard way to spcific cron run for custom extension

– Rakesh Donga
2 days ago





@Mastafis this is stanadard way to spcific cron run for custom extension

– Rakesh Donga
2 days ago

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267954%2fcreate-cron-group-and-assign-it-to-a-custom-module%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Sum ergo cogito? 1 nng

三茅街道4182Guuntc Dn precexpngmageondP