Creating a task
A set of standard tasks and a schedule for running them is installed
on every host that supports local VOBs and views. Although you cannot create,
change, or delete any standard tasks, you can define new tasks. You can also
customize two predefined tasks, one of which runs daily and the other weekly
in the default schedule, to add your own procedures to them and change their
schedules.
A task has two components:
- A job (executable program or script) to be run when the task runs
- A definition for the task in the scheduler’s task registry
To view all task definitions in the task registry, use this command:
cleartool schedule –get –tasks
To
create a new task:
- Create an executable program that can run in the scheduler’s execution
environment. (See the schedule reference page.) You can place this program in the scheduler’s tasks directory.
- After you have added a task to the task registry, you must create
a new job to run the task. See Creating a job.
You do not need to create a new job if you have added your program to an existing
scheduled job such as ccase_local_day.