I inserted this line into my init () of my BootStrap class
Integer.metaClass.minutes = { 60000L * delegate }
Then I could not use it from the Job class (Quartz plugin). Am I putting this line of code in another place to make it a global modification?
I was also interested in how best to use the function in all classes in Grails. Like a global function. Will there be an extension to the metaclass of the object? or is there a better way?
source share