Code Monkey home page Code Monkey logo

cronjob's Introduction

cronjob

提供任务队列和计划任务功能

环境要求:

cron服务,支持php的web环境,mysql服务

安装说明:

  1. 安装配置curl和php5-curl。
  • 复制cronjob文件夹到固定路径。
  • 配置web服务器和mysql服务器,导入程序文件,数据文件。
  • 修改crontab.sh里url地址和执行时间间隔。
  • 复制crontab.sh到固定路径并给予可执行权限。
  • 在文件/etc/crontab添加任务。
          • root 路径/crontab.sh
  • 完成。

安装说明2:

  1. 安装配置curl和php5-curl。
  • 复制cronjob文件夹到固定路径。
  • 配置web服务器和mysql服务器,导入程序文件,数据文件。
  • 执行index.php?act=run&auth=md5(date(YmdH).密码)
  • 完成

更新说明

  • 20131127 增加php方式。部署环境要求降低。

cronjob's People

Watchers

James Cloos 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.