How to run a routine periodically automatically on a java server like wildfly10

3

In a web java system, I need from time to time the application server to run a routine automatically (Scheduler). The problem is that I do not even know where to start, or how to make the server run this routine without the interaction of a user.

If someone can give me a direction? What technology to research, framework ... appreciate.

Today I do not use EJB, I use JSF with primefaces 6 on a wildfly server 10. Spring only the security.

Any example is welcome.

    
asked by anonymous 06.09.2016 / 14:27

1 answer

1

wildfly server 10 is based on RedHat. use crontab to perform periodic tasks

    
06.09.2016 / 16:51