Adding a new task

Important: The time at which you create the
task affects the first execution of the task.

If the current time falls within the start and stop times specified,
the tasks execute at the current time. Subsequent executions occur
in intervals specified by the frequency value. So, for example, if
the current time falls within the start and stop time and the frequency
is set for 15 minutes, the first execution of the task starts immediately
after the task is scheduled, and the next execution occurs 15 minutes
later.

However, if the current time does not fall within the start and
stop time, the task waits to execute until next start time, either
on the current day, or on the next day. For example, if current time
is 1:00 a.m., and the next start time is 7:00 p.m. (19:00), then the
task would start at 19:00 on the same day.

To add a new task:

Click Add a New Task from the Task
Schedule page.

Click Task under What
type of task would you like to add? and then click Next.

Enter a name in the Task Name field. For example: MyTask.

Select a category from the Task Group list.

Add a description of the new task in the text field and
click Next.

Specify the allowable time frame in which the task can
run, such as between 10 o'clock (10:00) in the morning and 6 o'clock
(18:00) in the evening, every hour, each day.

Specify the start time of the time interval, using the
24-hour clock format: hh:mm:ss For example: 10:00:00

Specify the stop time of the time interval, using the
24-hour clock format: hh:mm:ss For example: 18:00:00.
You can also specify NEVER.

Specify the frequency for how often the task can run
during the allowable time interval, in days, hours, and minutes: d Days h Hours m Minutes For example: 0 Days 1 Hours 00 Minutes.

Click Next.

Specify the command statement that the task is to run. For example, if you want to delete miscellaneous tasks, you
could enter the following statement:

delete from ph_task where tk_group='MISC'

Click Next. The confirmation
page is displayed.

Verify the entries for each selection:

If the entries are correct, click Finish to confirm
and create the task.

Click Back to return to the previous pages to correct
incorrect values.