|
|
@ -22,7 +22,7 @@ class UserClearMessage extends Task |
|
|
*/ |
|
|
*/ |
|
|
protected function writeLog($text) |
|
|
protected function writeLog($text) |
|
|
{ |
|
|
{ |
|
|
$this->path = root_path() . 'crontab.txt'; |
|
|
$this->path = root_path() . 'crontab2.txt'; |
|
|
|
|
|
|
|
|
$content = '重置中!'; |
|
|
$content = '重置中!'; |
|
|
if (!file_exists($this->path)) { |
|
|
if (!file_exists($this->path)) { |
|
|
|