更新采集数据功能2
This commit is contained in:
parent
91f1af5c06
commit
5cc8f65f7f
@ -68,11 +68,11 @@ class UpdateGoogleAdsTask
|
|||||||
);
|
);
|
||||||
|
|
||||||
// 每15分钟执行一次
|
// 每15分钟执行一次
|
||||||
new Crontab('58 */15 * * * *', function () {
|
// new Crontab('58 */15 * * * *', function () {
|
||||||
dump(date('Y-m-d H:i:s') . '更新' . GoogleAdsCampaigns::type . '开始');
|
// dump(date('Y-m-d H:i:s') . '更新' . GoogleAdsCampaigns::type . '开始');
|
||||||
Event::emit(GoogleAdsCampaigns::type, ['customer_id'=>4060397299]);
|
// Event::emit(GoogleAdsCampaigns::type, ['customer_id'=>4060397299]);
|
||||||
|
//
|
||||||
});
|
// });
|
||||||
|
|
||||||
// 每30分钟执行一次
|
// 每30分钟执行一次
|
||||||
// new Crontab('0 */30 * * * *', function () {
|
// new Crontab('0 */30 * * * *', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user