Find Jobs
Hire Freelancers

Write some Software

$250-750 USD

进行中
已发布将近 10 年前

$250-750 USD

货到付款
I need a spring batch program which should do the following task. Batch program will be scheduled to run every 5 seconds. I will take care of the scheduling. All I need is a batch program and table DDL script. Technologies, Spring batch, Jdk1.6 and Quartz API, postgresql 9.2. Table name, JOBDETAILS Columns are, Jobid, jobname, rest_web_service_url, crontab_trigger_expression jobid is primary key and sequence. Add more columns if it requires for this logic. - Batch program should read the jobname,business_description,rest_web_service_url and crontab trigger expression from the table. Each job in the table will have different cron trigger, different rest webservice url. - Based on crontab expression,it should call the rest_webservice. Let's say...I have the following data in the jobdetails table. jobid = 1 jobname=JobA rest_web_service_url = [login to view URL] crontab_trigger_expression = 0/30 * * * * ? As per cron trigger for JobA, the rest_web_service_url should be called every 30 seconds. Remember, Batch program will be scheduled to run every 5 seconds, so batch will check and call the service on every 30 seconds. Once job has been fired, you can update job_fired_time and next_job_fire_time in the tables. ( you can create more tables/column if you want to!). FYI, You can get all these details if you use CronTrigger object. The above example data is for every 30 seconds, but there will be a many jobs with different crontriggers/expression. Example, JobB - Every friday at 10 PM. JoBC - Every day at 11 PM, JobD - 1st day of every month at night 11 PM etc. Make sure that job will be fired exactly once based on crontrigger for each job. I need only a batch program and postgres tables ddl script.
项目 ID: 5978246

关于此项目

1条提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

UNITED STATES的国旗
ALPHARETTA, United States
5.0
3
会员自5月 23, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。