/php-cronManager

php 定时任务管理器

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

php-cronManager

php 定时任务管理器

配置

//Conf/config.yml
# phpCronManager config
manager:
  # Work dir
  dir: ''

# phpCronManager task config
task:
  # Task uuid
  sendEmail:
    # Task script path
    script: ''
    # Runtime args for task script
    args: {tenantId: 1}
    # Enable error log for task
    # Values: On/Off
    # Default: On
    error_log: On
    # Error log file
    log_file: ''

安装

{
    "require": {
        "php-cronManager/php-cronManager": "~1.0"
    }
}

使用

phpCronManager start/stop/restart/ps/kill [task-uuid]