C
C
Clean Coder2020-02-06 16:29:31
Java
Clean Coder, 2020-02-06 16:29:31

How to make the program write to the database at certain hours?

Let's say every hour (10:00, 11:00, etc.) I want to make a certain entry in the database (Postgres). How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2020-02-06
@HustleCoder

Spring has a scheduler.
Here is the guide: https://spring-projects.ru/guides/scheduling-tasks/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question