使用 CRON 的特定日期的 AWS redshift 计划

AWS redshift schedule for specific days using CRON

我正在尝试使用 CRON 为 运行 设置 Redshift 调度,每周 5 天(周一至周五)在东部时间 7 点到 14 点之间。格式描述如下:

Cron format: minute hour day-of-month month day-of-week year 
Use , (comma) to include additional values, - (hyphen) to specify a range, * (asterisk) to include all values, and / (forward slash) to specify increments.

所以我使用这些值:

暂停 - 0 16 * * 1-5 * 开始 - 0 9 * * 1-5 *

AWS 显示错误 Invalid cron schedule expression: cron(0 9 * * 1-5 *)。如果我用 ? 替换 1-5,它可以工作,但这不是我需要的。

这个调度程序确实支持这个范围吗?我做错了什么?

指定星期几时,第三个星号必须是问号:0 16 ? * 1-5 *

doc 说:

The * (asterisk) wildcard includes all values in the field. In the Hours field, * would include every hour. You cannot use * in both the Day-of-month and Day-of-week fields. If you use it in one, you must use ? in the other.