新增定时任务后,需要请缓存
在宝塔

在tink的目录下的终端执行
php -r 'require "vendor/autoload.php"; (new think\App())->initialize(); echo think\facade\Cache::delete("crontabCache") ? "deleted\n" : "not-found\n";'
在宝塔

在tink的目录下的终端执行
php -r 'require "vendor/autoload.php"; (new think\App())->initialize(); echo think\facade\Cache::delete("crontabCache") ? "deleted\n" : "not-found\n";'