Start a Conversation

Unsolved

This post is more than 5 years old

P

939

February 5th, 2014 21:00

Nas Cron job issue

From nasadmin@NSG2.bseltd.domain  Thu Feb  6 10:53:01 2014
Return-Path: <nasadmin@NSG2.bseltd.domain>
Received: from NSG2.bseltd.domain (localhost.localdomain [127.0.0.1])
        by NSG2.xxx.xxx(8.13.1/8.13.1) with ESMTP id s165N1P4012381
        for <nasadmin@NSG2.xxx.xxx>; Thu, 6 Feb 2014 10:53:01 +0530
Received: (from nasadmin@localhost)
        by NSG2.bseltd.domain (8.13.1/8.13.1/Submit) id s165N1gE012380;
        Thu, 6 Feb 2014 10:53:01 +0530
Date: Thu, 6 Feb 2014 10:53:01 +0530
Message-Id: <201402060523.s165N1gE012380@NSG2.bseltd.domain>
From: root@NSG2.xxx.xxx (Cron Daemon)
To: nasadmin@NSG2.bseltd.domain
Subject: Cron <nasadmin@NSG2> /temp/cron_start.sh
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:

/temp/cron_start.sh: line 1: nas_replicate: command not found

is the error log

Feb  6 10:53:01 NSG2 crond[12377]: (nasadmin) CMD (/temp/cron_start.sh)

cron log

[root@NSG2 nasadmin]# cat /temp/cron_start.sh

nas_replicate -start repl_DATAWAREHOUSE&&nas_replicate -start repl_BOSSI

[nasadmin@NSG2 ~]$ crontab -l
0  18 * * * nas_replicate -start repl_BOLTops
7  09 * * *  nas_replicate -stop repl_BOLTops -mode both
53 10 * * * /temp/cron_start.sh


crontab -l out put

Can ANy Body Help me to resolve this

Advance Thanks

1 Rookie

 • 

20.4K Posts

February 6th, 2014 08:00

add these two lines to beginning of cron_start.sh

export NAS_DB=/nas

export PATH=$PATH:/nas/bin

2K Posts

February 6th, 2014 08:00

This question doesn't seem to be related to Avamar. If this is a Celerra / VNX issue, you may wish to move this question to the VNX Support Forum so it gets the proper attention.

March 26th, 2014 23:00

Sorry i put in hurry

March 26th, 2014 23:00

thanks Dynamox,

No Events found!

Top