Commit 0e98795b authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent f2a3668f
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/1/17 0017
* Time: 下午 2:29
*/
echo 'first start';
\ No newline at end of file
<?php <?php
define("APPLICATION_PATH", realpath(dirname(__FILE__) . '/../../../')); //指向public的上一级
class Logger class Logger
{ {
public function __construct(/*Logging $logger*/) public function __construct(/*Logging $logger*/)
...@@ -102,6 +103,7 @@ class Daemon extends Logger { ...@@ -102,6 +103,7 @@ class Daemon extends Logger {
private function run(){ private function run(){
while(true){ while(true){
printf("The process begin.\n"); printf("The process begin.\n");
require APPLICATION_PATH . '/scripts/crontab/push/runRedisBase.php';
$this->class->run(); $this->class->run();
printf("The process end.\n"); printf("The process end.\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment