My Oracle Support Banner

Cron job command fails : emCCR -cron -silent start (Doc ID 749345.1)

Last updated on OCTOBER 30, 2019

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.4 to 10.2.0.4 [Release 10.2]
Oracle Configuration Manager - Version 10.2.4 to 10.3.6.0.0
Information in this document applies to any platform.
***Checked for relevance on 16-FEB-2012***
Enterprise Manager Grid Control - Version: 10.2.0.4 to 10.2.0.4
Checked for relevance on 23-Jul-2013

Symptoms

cron job installed by the OCM is failing

0,15,30,45 * * * * JAVA_HOME=/oracle/oms10g/jdk /oracle/oms10g/ccr/bin/emCCR -cron -silent start

a mail message is being sent regarding the failure of the job .

Oracle Configuration Manager - Release: 10.2.6.0.0 - Production
    Copyright (c) 2005, 2007, Oracle.  All rights reserved.
    ------------------------------------------------------------------
    "-cron" is an invalid qualifier for command "start"
    Usage:
        emCCR start| stop| status
        emCCR set collection_interval="[FREQ=MONTHLY | WEEKLY | DAILY]
                                  [; BYMONTHDAY=1 to 31, when FREQ is MONTHLY]
                                  [; BYDAY=MON to SUN, when FREQ is WEEKLY]
                                  [; BYHOUR=0 to 23]
                                  [; BYMINUTE=0 to 59]"
                 DAILY is the default Frequency.
        emCCR hold | resume
        emCCR [-annotation="annotation string"] collect | upload | getupdates
        emCCR [-verbose] [-register] test
        emCCR register
        emCCR automatic_update on/off
        emCCR enable_target | disable_target
        emCCR config
        emCCR upload [-diagnostic=SR=Service request number,FILE=Absolute path of diagnostic package
    [-restart] [-force]]
        emCCR status [-diagnostic[=SR=Service request number,FILE=Absolute path of diagnostic package]]
        emCCR clear -diagnostic[=SR=Service request number,FILE=Absolute path of diagnostic package]
    [-completed] [-force]
        emCCR update_components [-silent] -staged_dir="Directory containing OCM packages" |
    -distribution="OCM installation kit path"
        emCCR help

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.