A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals. Which two actions do you take to make sure the newsletter is sent? (Choose two.)
A) Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/di.xml Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/di.xml
B) Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/.xml etc/crontab/.xml
C) Make sure bin/magento cron:run is added to the system crontab Make sure bin/magento cron:run is added to the system crontab
D) Register the plugin for \Magento\Customer\Model\Customer::authenticate in etc/crontab.xml Register the plugin for \Magento\Customer\Model\Customer::authenticate in etc/crontab.xml
Correct Answer:
Verified
Q13: What is the connection between product attribute
Q14: Products may be accessed using SEO friendly
Q15: Which method of a Magento resource model
Q16: What will be the result of calling
Q17: How many shipping addresses may be selected
Q19: \Magento\Sales\Model\Api\OrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and
Q20: You are setting up a brand new
Q21: You have been given the task of
Q22: You added a new constructor argument to
Q23: A custom module must make changes to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents