Solved

A Module You Are Working on Needs to Send a Newsletter

Question 18

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents