/** 预置后台定时计划，自动清理监控报告日志 **/

DELETE FROM T_SCH_TASKDEFINE WHERE FID = '389KPGSXVZUT';
INSERT INTO T_SCH_TASKDEFINE(FID,FCLASSNAME,FAPPID,FNUMBER) VALUES ('389KPGSXVZUT','kd.bos.form.plugin.ReportClearTask','botp','botp_ReportClearTask_SKDJ_S');

DELETE FROM T_SCH_TASKDEFINE_L WHERE FPKID = '389KPGSXVZUU';
INSERT INTO T_SCH_TASKDEFINE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('389KPGSXVZUT','389KPGSXVZUU','zh_CN','清理监控报告');
DELETE FROM T_SCH_TASKDEFINE_L WHERE FPKID = '389KPGSXVZUV';
INSERT INTO T_SCH_TASKDEFINE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('389KPGSXVZUT','389KPGSXVZUV','zh_TW','清理監控報告');

DELETE FROM T_SCH_JOB WHERE FID = '389K/RA/5U8J';
INSERT INTO T_SCH_JOB(FID,FTASKCLASSNAME,FTASKDEFINEID,FRUNMODE,FRUNBYUSERID,FJOBTYPE,FSTATUS,FCONCURRENT,FNUMBER,FSTRATEGY,FTIMEOUT,FRETRYTIME,FRUNBYLANG,FRUNBYORGID,FPARAMS) VALUES ('389K/RA/5U8J','kd.bos.form.plugin.ReportClearTask','389KPGSXVZUT','0',1,'BIZ','1','0','botp_ReportClearTask_SKDJ_S','1',0,0,' ',0,'{"storageDays":"15"}');


DELETE FROM T_SCH_JOB_L WHERE FPKID = '389K/RA2T7RT';
INSERT INTO T_SCH_JOB_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('389K/RA/5U8J','389K/RA2T7RT','zh_CN','自动清理监控报告');
DELETE FROM T_SCH_JOB_L WHERE FPKID = '389K/RA2T7RU';
INSERT INTO T_SCH_JOB_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('389K/RA/5U8J','389K/RA2T7RU','zh_TW','自動清理監控報告');

DELETE FROM T_SCH_SCHEDULE WHERE FID = '389L1DE9KXQ5';
INSERT INTO T_SCH_SCHEDULE(FTWENTY,FFIVE,FELEVEN,FNINE,FNO,FSUN,FTWO,FEIGHT,FNOV,FPLAN,FWED,FHOST,FTWENTYTWO,FFOUR,FMAR,FSEP,FENDTIME,FSIX,FREPEATMODE,FMAY,FTHIRTYONE,FBYDAYORWEEK,FTWENTYSEVEN,FTWENTYSIX,FTHIRTEEN,FAUG,FDESC,FFIFTEEN,FTWENTYONE,FBYWEEK,FTUES,FSEVENTEEN,FSEVEN,FTWENTYFOUR,FMON,FTHIRTY,FTHREE,FFOURTEEN,FJAN,FNINETEEN,FTHUR,FTEN,FFRI,FJOBID,FSTARTTIME,FOCT,FAPR,FSIXTEEN,FID,FSAT,FONE,FTWENTYEIGHT,FTWENTYTHREE,FTWELVE,FNOWEEK,FSTATUS,FNUMBER,FTWENTYFIVE,FEIGHTEEN,FCYCLENUM,FTWENTYNINE,FJUL,FDEC,FJUN,FFEB) VALUES ('0','0','0','0',NULL,'0','0','0','0','0 49 3 * * ?','0','172.19.111.247','0','0','0','0',{ts'2999-12-25  00:00:00'},'0','d','0','0',NULL,'0','0','0','0',' ','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','389K/RA/5U8J',{ts'2023-04-25  00:00:00'},'0','0','0','389L1DE9KXQ5','0','0','0','0','0',NULL,'1','botp_ReportClearTask_SKDP_S','0','0',1,'0','0','0','0','0');


DELETE FROM T_SCH_SCHEDULE_L WHERE FPKID = '389L1DE9KYDE';
INSERT INTO T_SCH_SCHEDULE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('389L1DE9KXQ5','389L1DE9KYDE','zh_CN','自动清理监控报告');
DELETE FROM T_SCH_SCHEDULE_L WHERE FPKID = '389L1DE9KYDF';
INSERT INTO T_SCH_SCHEDULE_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('389L1DE9KXQ5','389L1DE9KYDF','zh_TW','自動清理監控報告');

/**  **/


