更新采集数据功能2

This commit is contained in:
hgc 2024-12-24 20:33:38 +08:00
parent 91f1af5c06
commit 5cc8f65f7f

View File

@ -68,11 +68,11 @@ class UpdateGoogleAdsTask
);
// 每15分钟执行一次
new Crontab('58 */15 * * * *', function () {
dump(date('Y-m-d H:i:s') . '更新' . GoogleAdsCampaigns::type . '开始');
Event::emit(GoogleAdsCampaigns::type, ['customer_id'=>4060397299]);
});
// new Crontab('58 */15 * * * *', function () {
// dump(date('Y-m-d H:i:s') . '更新' . GoogleAdsCampaigns::type . '开始');
// Event::emit(GoogleAdsCampaigns::type, ['customer_id'=>4060397299]);
//
// });
// 每30分钟执行一次
// new Crontab('0 */30 * * * *', function () {