Code Monkey home page Code Monkey logo

rock-script's Introduction

rock-script

脚本语言或脚本相关知识


shell脚本

定时书写 -OK

定时任务在Linux和Mac中使用crontab进行脚本的配置
Linux和Mac的用法基本一致
常用命令:
crontab -l 查看当前定时任务
crontab -e 编辑定时任务
crontab -r 删除定时任务

crontab命令格式与cron格式有点区别,从分开始
*  *  *  *  *  command
分 时  日  月  周  命令
在文件中直接输入 0/1 * * * * ? sh /Users/opayc/products/rock-script/com/rock/script/shell/monitor.sh /Users/opayc/products/rock-script/com/rock/script/shell/monitor.log


rock-script's People

Contributors

rockmanflow avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.