You are designing a module that has to automatically share a newsletter with all subscribers at given intervals of time. How to make sure the newsletter gets to subscribers successfully?
0
At first, a candidate needs to ensure that the system crontab contains bin/magento cron: run. Then, he needs to run MyCompanyMyModuleCronNewsLetterSender::execute and register it in etc/crontab/.xml.
Don't let wrong answers like register a plugin for ModelCustomer or execute MyModuleCronNewsLetterSender::execute get you off track.
Sign in to add a comment
0 Answers
0
📝 No answers yet!
Be the first to answer this interview question.
Your Answer
Sign in to post your answer and help the community.