[英]BigQuery Scheduled queries only on working days
I need a scheduled query only between Monday to Friday between 9 and 7 o'clock:我只需要在周一到周五 9 点到 7 点之间的预定查询:
Scheduled queries is currently: every hour from 9:00 to 19:00预定查询目前是:每小时 9:00 到 19:00
But how to modify for Mo-Fr?但是如何修改 Mo-Fr?
Thanks谢谢
Please review the following from the official documentation: Set up scheduled queries .请查看官方文档中的以下内容: 设置预定查询。
Specifically,具体来说,
To specify a custom frequency, select Custom, then enter a Cron-like time specification in the Custom schedule field;
要指定自定义频率,select Custom,然后在 Custom schedule 字段中输入类似 Cron 的时间规范; for example every 3 hours.
例如每 3 小时一次。
Then, you can use a tool like crontab guru to produce the cron statement for the schedule you want.然后,您可以使用 crontab guru 之类的工具为您想要的计划生成 cron 语句。 Example: 00 9-19 * * 1-5
示例: 00 9-19 * * 1-5
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.