zoukankan      html  css  js  c++  java
  • Saltstack module incron 详解

    incron.rm_job

    Remove a incron job for a specified user. If any of the day/time params are
    specified, the job will only be removed if the specified params match.
    
    CLI Example:
    
        salt '*' incron.rm_job root /path
    

    incron.raw_incron

    Return the contents of the user's incrontab
    
    CLI Example:
    
        salt '*' incron.raw_incron root
    

    incron.list_tab

    Return the contents of the specified user's incrontab
    
    CLI Example:
    
        salt '*' incron.list_tab root
    

    incron.ls

    This function is an alias of list_tab.

    Return the contents of the specified user's incrontab
    
    CLI Example:
    
        salt '*' incron.list_tab root
    

    incron.rm

    This function is an alias of rm_job.

    Remove a incron job for a specified user. If any of the day/time params are
    specified, the job will only be removed if the specified params match.
    
    CLI Example:
    
        salt '*' incron.rm_job root /path
    

    incron.set_job

    Sets an incron job up for a specified user.
    
    CLI Example:
    
        salt '*' incron.set_job root '/root' 'IN_MODIFY' 'echo "$$ $@ $# $% $&"'
    

    incron.write_incron_file_verbose

    Writes the contents of a file to a user's incrontab and return error message on error
    
    CLI Example:
    
        salt '*' incron.write_incron_file_verbose root /tmp/new_incron
    

    incron.write_incron_file

    Writes the contents of a file to a user's incrontab
    
    CLI Example:
    
        salt '*' incron.write_incron_file root /tmp/new_incron
    

    incron.raw_system_incron

    Return the contents of the system wide incrontab
    
    CLI Example:
    
        salt '*' incron.raw_system_incron
  • 相关阅读:
    PTA习题解析——银行排队问题
    线性表结构详解
    SkipList (跳跃表)解析及其实现
    C++面向过程编程
    WEB 性能测试用例设计以及总结
    PHP设计模式概述
    影响Linux发展的四位天才黑客
    从Linux 与 Unix 异同,看开源世界的发展!
    移动开发的跨平台技术演进
    AI和机器学习对云应用的安全产生了何种影响?
  • 原文地址:https://www.cnblogs.com/randomlee/p/Saltstack_module_incron.html
Copyright © 2011-2022 走看看