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
Post a Comment