
Explanation:
The correct CRON expression for scheduling the job to run every day at midnight is '0 0 * * '. This expression consists of five fields: minutes, hours, day of the month, month, and day of the week. In this case, '0' specifies the minute and hour, and the asterisks () indicate any value for the day of the month, month, and day of the week, respectively.
Ultimate access to all questions.
Consider a scenario where you need to schedule a data processing job to run every day at midnight. How would you use CRON to set up this scheduling opportunity? Provide the CRON expression and explain its components.
A
0 0 * * * - This expression schedules the job to run at midnight every day.
B
0 * * * * - This expression schedules the job to run at the start of every hour.
C
* * 0 * * - This expression schedules the job to run every minute on the 0th day of every month.
D
* * * * 0 - This expression schedules the job to run every minute on every Sunday.