Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

sched_croncdh command

The sched_croncdh command manages the uploadcdh cron job.

Synopsis

sched_croncdh minute hour days_of_week

sched_croncdh -l

sched_croncdh -d

Description

A cron job (uploadcdh) uses a database DIP of your choosing to upload the data in the Call Data Handler (CDH) files to a database and erases the CDH files, thus preserving hard drive space on the platform. This cron job can be scheduled using the sched_croncdh command.

The time of the week that uploadcdh runs is set using the following variables:

Variable

Description

Comments

minute

Minute that the cron job runs

0-59

hour

Hour that the cron job runs

0-23

days_of_week

Days of the week that the cron job runs

0-6, all (0=Sunday, 6=Saturday, all=every day)

You can specify one or more days to run the cron job. To specify more than one day, use a comma-separated list or a dash-separated range.

Examples: 1-3 backs up on Monday, Tuesday, and Wednesday. 1,3 backs up on Monday and Wednesday.

In addition to setting the minute, hour, and days_of_week, you can use the -l option to list the current schedule, or use the -d option to remove the current schedule for uploadcdh.

Example

The following command runs uploadcdh at 12:15 a.m. every Sunday:

sched_croncdh 15 0 0

See also

© 2006 Avaya Inc. All Rights Reserved.