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

在宝塔

image

 

在tink的目录下的终端执行

php -r 'require "vendor/autoload.php"; (new think\App())->initialize(); echo think\facade\Cache::delete("crontabCache") ? "deleted\n" : "not-found\n";' 
posted @ 2026-10-12 17:31  MiniDuck  阅读(8)  评论(0)    收藏  举报