如何在AWS中创建快照常规。

0

【以下的问题经过翻译处理】 在生成crontab时,它告诉我我输入的crontab无效。我需要它从周一到周五每隔10分钟生成一次,从10点到22点UTC。

我尝试过这个crontab:

0/10 10-22 ** ** MON-FRI *

有人能帮我吗?

profile picture
EXPERT
asked 6 months ago8 views
1 Answer
0

【以下的回答经过翻译处理】 目前不清楚您的cron是在本地Linux分发版中运行,还是在AWS本地的cloudwatch规则中生成的用于快照的cron。我相信后者是更符合AWS风格的情况。如果是后者,正确的语法应该是0/10 10-22 ? ** MON-FRI **(如果需要每月/星期的任何一天)。

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions