Set up a cron job using values from a database in a java servlet -


i have servlet in query db2 due_dates, need send reminder emails customers.

i know how set cron jobs weekly or daily tasks standalone java class not know how take output of query , use set job in cron scheduler.

how can schedule cron job using due_dates values ?

youd better of having cron run every day/12 hours or whatever , send emails due rather trying schedule cron


Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

javascript - Linking from page A to a specific iframe on page B -

java - Two interface have same method name with different return type -