Compare commits

..

No commits in common. "61c582ba8d111fd757d3b6970854be7b01cfcb8f" and "d98f2a588a86fcc1506b213968fd7204d3722a76" have entirely different histories.

2 changed files with 38 additions and 9 deletions

View File

@ -18,6 +18,35 @@ class Task3
public function onWorkerStart() public function onWorkerStart()
{ {
// // 每秒钟执行一次
// new Crontab('*/1 * * * * *', function(){
// echo date('Y-m-d H:i:s')."\n";
// });
// // 每5秒执行一次
// new Crontab('*/5 * * * * *', function(){
// echo date('Y-m-d H:i:s')."\n";
// });
// // 每分钟执行一次
// new Crontab('0 */1 * * * *', function(){
// echo date('Y-m-d H:i:s')."\n";
// });
// // 每5分钟执行一次
// new Crontab('0 */5 * * * *', function(){
// echo date('Y-m-d H:i:s')."\n";
// });
// // 每分钟的第一秒执行
// new Crontab('1 * * * * *', function(){
// echo date('Y-m-d H:i:s')."\n";
// });
// // 每天的7点50执行注意这里省略了秒位
// new Crontab('50 7 * * *', function(){
// echo date('Y-m-d H:i:s')."\n";
// });
// // 每1小时执行一次 // // 每1小时执行一次
new Crontab('0 0 * * * *', function () { new Crontab('0 0 * * * *', function () {
//获取在线时间超过6小时的用户 //获取在线时间超过6小时的用户

View File

@ -463,15 +463,15 @@ const J = {
x("div", Je, g(e.$t("WhatsApp关联任务")), 1), x("div", Je, g(e.$t("WhatsApp关联任务")), 1),
]), ]),
x("div", ze, [ x("div", ze, [
// x( x(
// "div", "div",
// { {
// onClick: onClick:
// s[2] || (s[2] = (e) => k(a).push("/vipDetails")), s[2] || (s[2] = (e) => k(a).push("/vipDetails")),
// class: "flex-1", class: "flex-1",
// }, },
// Ve Ve
// ), ),
x("div", Xe, [ x("div", Xe, [
x( x(
"div", "div",