lifecycle.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:builder 作者: elifesciences 项目源码 文件源码
def stop_if_running_for(stackname, minimum_minutes='30'):
    """If a EC2 node has been running for a time greater than minimum_minutes, stop it.

    The assumption is that stacks where this command is used are not needed for long parts of the day/week, and that who needs them will call the start task first."""
    return lifecycle.stop_if_running_for(stackname, int(minimum_minutes))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号