JobDetail Management = new JobDetail(" Management"," NJobGroup",ClinicSubscription.class);
CronTrigger cr = new CronTrigger(" ccr"," NJobGroup"," 0 00 00 * *?"); sche.scheduleJob(clinicManagement,cr);
答案 0 :(得分:0)
午夜(0
)或每两个小时(/2
)在中午到晚上十点之间,包括(12-22
):
0 0,12-22/2 * * * command.sh