Package com.almis.awe.scheduler.dao
Class CommandDAO
java.lang.Object
com.almis.awe.scheduler.dao.CommandDAO
DAO to manage schedule commands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrunCommand
(Task commandTask, String[] envp, long timeout) Run a command task
-
Constructor Details
-
CommandDAO
Autowired constructor- Parameters:
runtime
- Runtime service
-
-
Method Details
-
runCommand
Run a command task- Parameters:
commandTask
- Taskenvp
- Enviroment variablestimeout
- Timeout- Returns:
- exit code
-