This commit is contained in:
as2252258@163.com
2021-03-26 01:50:30 +08:00
parent cb52e09023
commit c4dc78eeff
+1 -10
View File
@@ -199,16 +199,7 @@ class Crontab extends BaseObject
*/
public function execute(): void
{
// var_dump(($this->handler)());
var_dump(call_user_func(function ($params, $name) {
echo date('Y-m-d H:i:s');
}, $this->params, $this->name));
var_dump(call_user_func($this->handler, $this->params, $this->name));
}