Cron expression to run every day starting from a date
问题 I need a cron expression which will fire every day at 12 pm starting from jan 25 2016. This is what I came up with: 0 0 12 25/1 * ? * but after jan 31, the next firing time is feb 25. Is there a cron expression expression for doing this? If not what can I use? 回答1: Assuming that after January 25th you want to run this process forever after (i.e. 2032, when probably the server will be already substituted), I would do it with three expressions: 0 0 12 25-31 1 * 2016 command # Will run the last