Class TaskExecuteCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.system.TaskExecuteCommand
- All Implemented Interfaces:
Command
A Web Site Command to manually execute Scheduled Tasks. Unlike the Task Scheduler, which spawns a new Thread to
execute a Scheduled Task, this Command will execute the Task using the same Thread.
- Since:
- 1.0
- Version:
- 11.1
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
TaskExecuteCommand
public TaskExecuteCommand()
-
-
Method Details
-
execute
Executes the command.- Parameters:
ctx
- the Command context- Throws:
CommandException
- if an unhandled error occurs
-