What are the minimally required steps to accomplish this?

An Adobe Commerce developer is being tasked with creating a new cron job to run a method that has already been written.

What are the minimally required steps to accomplish this?
A . Create a crontab.xmi file and a new system configuration in system.xmi for the schedule.
B. Create crontab.xmi and cron_groups.xmi files to assign the new job to a cron group.
C. Create a crontab.xmi file and set a schedule for the new cron job.

Answer: C

Explanation:

According to the Configure and run cron guide for Magento 2 developers, the crontab.xmi file is used to declare and configure cron jobs for a module. The file should specify the name, instance, method and schedule of the cron job. Therefore, creating a crontab.xmi file and setting a schedule for the new cron job are the minimally required steps to accomplish this task.

Reference: https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-cron.html

Latest AD0-E716 Dumps Valid Version with 69 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments