涂煌豪
2022-04-02 75c928f3ef86611c8f7b21e79d2f9b453fdf25f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Created by liyf on 2018/12/13.
 */
 
global class ET_Batch_Scheduler implements Schedulable {
    private final Integer BATCH_SIZE = 200;
 
    // 毎日実行します
    // system.schedule('ET_Batch_Master','0 0 3 * * ?', new ET_Batch_Scheduler());
    global void execute(SchedulableContext ctx) {
        // 产品得分表Batch
        Database.executeBatch(new ET_Product_ScoreTable_Batch(), BATCH_SIZE);
    }
}