Cron Expression: 0 0 * * * ? - Daily Midnight Execution
This cron expression represents a schedule that runs every day at midnight (00:00:00).\n\nThe breakdown of the expression is as follows:\n\n* 0: The first field represents the minute, specifying that the task will run at the 0th minute of the hour. \n* 0: The second field represents the hour, specifying that the task will run at the 0th hour of the day (midnight).\n* *: The third field represents the day of the month, using an asterisk () to indicate that the task will run on every day of the month.\n *: The fourth field represents the month of the year, using an asterisk () to indicate that the task will run in every month of the year.\n *: The fifth field represents the day of the week, using an asterisk () to indicate that the task will run on every day of the week.\n ?: The sixth field represents the year, using a question mark (?) to indicate that the task will run regardless of the year. \n\nTherefore, the expression "0 0 * * * ?" will execute a task at midnight (00:00:00) every day of the year.
原文地址: https://www.cveoy.top/t/topic/qdX0 著作权归作者所有。请勿转载和采集!