Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <config>
- <modules>
- <CompanyName_AutomatedImport>
- <version>0.23</version>
- <active>true</active>
- <codePool>local</codePool>
- </CompanyName_AutomatedImport>
- </modules>
- <adminhtml>
- <layout>
- <updates>
- <companyname_automatedimport>
- <file>CompanyName_AutomatedImport.xml</file>
- </companyname_automatedimport>
- </updates>
- </layout>
- </adminhtml>
- <global>
- <helpers>
- <companyname_automatedimport>
- <class>CompanyName_AutomatedImport_Helper</class>
- </companyname_automatedimport>
- </helpers>
- <events>
- <customer_register_success>
- <observers>
- <companyname_automatedimport>
- <class>companyname_automatedimport/observer</class>
- <method>customerCreateAfter</method>
- </companyname_automatedimport>
- </observers>
- </customer_register_success>
- </events>
- <fieldsets>
- <customer_account>
- <sap_bp_id><create>1</create><update>1</update></sap_bp_id>
- </customer_account>
- </fieldsets>
- <models>
- <companyname_automatedimport>
- <class>CompanyName_AutomatedImport_Model</class>
- </companyname_automatedimport>
- </models>
- <resources>
- <companyname_automatedimport_setup>
- <setup>
- <module>CompanyName_AutomatedImport</module>
- <class>CompanyName_AutomatedImport_Model_Entity_Setup</class>
- </setup>
- <connection>
- <use>core_setup</use>
- </connection>
- </companyname_automatedimport_setup>
- </resources>
- </global>
- <crontab>
- <jobs>
- <companyname_automatedimport>
- <schedule>
- <!-- Set the cron_expr as '0 * * * *' to run the process every hour -->
- <!-- Or set it as '*/3 * * * *' run every 3 minutes -->
- <cron_expr>*/5 * * * *</cron_expr>
- </schedule>
- <run>
- <model>CompanyName_AutomatedImport/Observer::automatedImportProcess</model>
- </run>
- </companyname_automatedimport>
- </jobs>
- </crontab>
- </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement