[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Other Languages » Groovy
 
RSS feed
 
New topic
Author

Reading timeout property from database for a grail job

Amit Sharma
Ranch Hand

Joined: Nov 22, 2005
Messages: 87

Hi

can i read timeout property from database for a grail job. Which cause it to start after that time. Here i am able to get value from database but its not running. But if i gave def timeout = 1000 , its working fine
i.e.

class GrailJob{

def timeout = 'value that i got from database in milliseconds'

def execute(){
println "YES its working "
}

}

Amit Sharma SCJP 1.4, SCWCD 5, OCUP-100(UML)
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Other Languages » Groovy
 
RSS feed
 
New topic
hibernate profiler