How do I create multiple cron jobs on deman

Viewed 19

I am attempting to create a feature, where the users can create multiple schedules. I want these schedules to send notifications to my users, so I need to be able to create a cron job for each new schedule created. Multiple users should receive a notification for each event occurrence on the schedule, for all the schedules they’re subscribed to.

1 Answers

I think there are guides on internet about setting up cron jobs in java.

Take a look at this post for example : How to create a Java cron job

The post is pretty old, so it may be depreciated now, but I'm sure there are a lot of recent documentation out there.

Related