Grails creating routines
问题 Let's say, i have a specific information in the database that needs to be sent for a specific user by email in a specific time of the day. a) How can i create a routine in Grails, which is basically an action that is always running - without being associated with any event? Let's say, every hour that action is runned. I was thinking about something like this: while(true){ ... myCodeHere ... wait 30minutes } Will this actually work? Without too much processing? And how can i have an action