Skip to content

Instantly share code, notes, and snippets.

@emrahuyanik
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emrahuyanik/f0dd3e38ff9e9bf47b1f to your computer and use it in GitHub Desktop.
Save emrahuyanik/f0dd3e38ff9e9bf47b1f to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<config>
<modules>
<MyCompanyName_HelloWorld>
<version>0.1.0 </version>
</MyCompanyName_HelloWorld>
</modules>
<global>
<models>
<helloworld>
<class>MyCompanyName_HelloWorld_Model</class>
</helloworld>
</models>
</global>
<crontab>
<jobs>
<mycompanyname_helloworld>
<schedule>
<cron_expr>*/10 * * * *</cron_expr>
</schedule>
<run>
<model>MyCompanyName_HelloWorld_Model_Cron::job</model>
</run>
</mycompanyname_helloworld>
</jobs>
</crontab>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment