SchedulerThe CodePro Task Scheduler provides a facility for scheduling various tasks to occur at startup, at shutdown, at scheduled times or in response to specific events. The Scheduler view may be accessed in several ways - as part of the Resource, Java, Debug, Team or VA Java perspectives or within its own "Scheduler" perspective. Currently, there are twelve task types that may be instantiated:
The status column has the following icons indicating the current state of the scheduled task:
Scheduling a new taskTo schedule a new task, select "New Task" from the popup menu of the scheduler view and then select the type of task to be scheduled. This opens the scheduler wizard, displaying the wizard pages specific to that type of task. New tasks can be created via the standard New wizard by selecting the "Scheduler Tasks" category, or via the popup menus or toolbar within the Scheduler view itself.
Tasks may be scheduled to run at a specific time with a specific interval, at startup, at shutdown, after another task, or before a specific class is launched. When triggered, the tasks can prompt the user to continue or not. Clicking on the "Show task in Task menu" will cause the task to be added to the top level "Task" menu. This provides a convenient way to access common tasks. Edit an existing taskTo edit an existing task, select the task in the scheduler view, then select "Edit" from the popup menu. Alternately, double click on the task in the scheduler view. Either method causes the scheduler wizard to be opened showing the details of the selected task. Run a taskIn addition to a task automatically running at a specified time, you can run a task immediately by selecting "Run" in the popup menu. This executes the task immediately without altering the next time that the task is scheduled to run. Deleting a taskTo permanently remove a task from the scheduler view, select the task in the scheduler view and then select "Delete" in the popup menu. Early StartupIn order for these tasks to be executed at the appropriate times, the scheduler must be loaded and executed when Eclipse is launched. |