PDA

View Full Version : repetitive weekly task


Sprang
Aug 29th, 2007, 04:57 AM
I need to build a repetitive job that runs weekly. I'd usually write a spring controller etc and run that via crontab.

My question is whether I should take this approach or use spring batch - or perhaps someone can recommend a better solution?

I need to do it this week tho and it has to be live soon :(

sotretus
Aug 29th, 2007, 09:45 AM
Focusing only on the technical side of the solution, it CAN be accomplished with Spring Batch. It can be configured to use a configurable cron inside it, delegating to Quartz.

Now, it is up to you to analyze if you can meet the deadlines or not.

Good Luck
AB

Sprang
Aug 29th, 2007, 11:04 AM
thanks for the reply. I shall investigate