Download the PHP package cronthink/scheduler without Composer

On this page you can find all versions of the php package cronthink/scheduler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package scheduler

think-scheduler cron

介绍

thinkphp5 计划任务调度 scheduler cron.
简单实现精简版计划任务调度
解决多个计划任务时需要频繁修改服务器cron问题
在程序内实现管理任务调度

软件架构

php >=7.1
依赖于thinkphp5.0框架
依赖于thinkphp 命令行

安装教程

composer require cronthink/scheduler

使用说明

  1. 安装完成后,首先执行命令初始化:

执行命令后会在项目根目录下生成样例文件 (应用目录)application/scheduler/CronConfig.php

  1. 调用 $this->scheduler 下的方法 expression() cron表达式
  2. 调用 $this->scheduler 下的方法 call() 内写逻辑
  3. 调用 $this->scheduler 下的方法 desc() 任务描述用于区分任务
  4. 调用 $this->scheduler 下的方法 save() 必须最后调用 保存验证配置
  5. 可修改类中属性 $errorLogPath 修改执行错误日志路径
  6. php think cron start 启动运行
  7. php think cron list 查看已配置任务列表
  8. 服务器设置计划任务 php think cron start 一分钟执行一次(crontab默认最短一分钟)

参与贡献

  1. 依赖包 dragonmantank/cron-expression": "^3.3 用于分析cron表达式

All versions of scheduler with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
dragonmantank/cron-expression Version ^3.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cronthink/scheduler contains the following files

Loading the files please wait ....