简体   繁体   English

石英调度程序每天运行2次

[英]quartz scheduler run 2 times every day

i've a java application that runs on UNIX OS two times at a day every time it generates reports and send the generated files to the configured mail. 我有一个Java应用程序,它每次生成报告并将生成的文件发送到已配置的邮件时,每天都会在UNIX OS上运行两次。

the problem is that the reports generated successfully at the first run for the 2 reports but the coming runs it didn't work without mentioning any problems 问题是该报告在第一次运行时成功生成了两个报告,但是在接下来的运行中,它没有提及任何问题都无法正常工作

i've to run 7 jobs the first one will be sent to the first email with the first below corn expression and the 2, 3, 4, 5, 6, 7 jobs will be sent in the second mail with the 2nd below corn expression 我必须运行7个作业,第一个作业将被发送到第一封电子邮件,其中第一个低于玉米表达,而2,3、4、5、6、7个作业将被发送到第二封邮件,其中第二个低于玉米表达

what i see might be the problem that i run 6 jobs at the same corn expression if any one have experience with this situation please advice 我看到的可能是如果有任何人有这种情况的经验,我以相同的玉米表达量运行6个工作的问题,请咨询

here is my corn expressions 这是我的玉米表情

Query_1_ReportName = Sarie_Outgoing - EFT 103-102-202 Query_1_Time = 0 10 16 ? Query_1_ReportName = Sarie_Outgoing-EFT 103-102-202 Query_1_Time = 0 10 16吗? * * * *

Query_2_ReportName = Swift_Outgoing - SWF 103 Query_2_Time = 0 0 6 ? Query_2_ReportName = Swift_Outgoing-SWF 103 Query_2_Time = 0 0 6吗? * * * *

thanks in advance 提前致谢

You mean to say that you second cron trigger is not running? 您的意思是说您的第二个cron触发器没有运行? I have described how we can run multiple crontrigger,hope it may help. 我已经描述了如何运行多个crontrigger,希望它会有所帮助。 multiple cron trigger If it doesnt help then you need to provide your code so that we can go through the code and identify the problem. 多重cron触发器如果这无济于事,则您需要提供代码,以便我们检查代码并找出问题所在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM