更新:定时任务重新修改
This commit is contained in:
@@ -1 +0,0 @@
|
||||
<?php
|
@@ -116,7 +116,7 @@ trait RegisterSignal
|
||||
$process->exit();
|
||||
});
|
||||
|
||||
$process->start();
|
||||
$process->start();
|
||||
|
||||
Process::alarm($this->interval);
|
||||
});
|
||||
|
@@ -121,7 +121,7 @@ trait Store
|
||||
{
|
||||
$pidFile = config('catch.crontab.master_pid_file');
|
||||
|
||||
if (!file_exists($pidFile)) {
|
||||
if (!FileSystem::exists($pidFile)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ trait Store
|
||||
*/
|
||||
public function renderStatus()
|
||||
{
|
||||
return file_get_contents(self::statusPath());
|
||||
return FileSystem::sharedGet(self::statusPath());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user