Bharanij
ADSM.ORG Member
- Joined
- Jun 18, 2016
- Messages
- 159
- Reaction score
- 2
- Points
- 0
hi guys i an testing incr backup using crontab and getting issue ans that are listed
script:-
dev:/opt/tivoli/tsm/client/ba/bin # cat backup.sh
./dsmc incr /opt/tivoli/tsm/client/ba/bin/test/test/*
on crontab:-
:/opt/tivoli/tsm/client/ba/bin # crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXM5umCC installed on Wed May 2 13:26:20 2018)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
0 0 * * * /usr/bin/nmon -f -t -s 60 -c 1440 -m /home
0 0 * * * /home/nmon_rotate.sh
30 13 * * * /opt/tivoli/tsm/client/ba/bin/backup.sh
getting error on mail
From [email protected] Wed May 2 13:30:01 2018
Return-Path: <[email protected]>
X-Original-To: root
Delivered-To: [email protected]
Received: by DEV.sand.co.in (Postfix, from userid 0)
id 296BF612E; Wed, 2 May 2018 13:30:01 +0530 (IST)
From: [email protected]
To: [email protected]
Subject: Cron <root@DEV > /opt/tivoli/tsm/client/ba/bin/backup.sh
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <[email protected]>
Date: Wed, 2 May 2018 13:30:01 +0530 (IST)
/opt/tivoli/tsm/client/ba/bin/backup.sh: line 1: ./dsmc: No such file or directory
script:-
dev:/opt/tivoli/tsm/client/ba/bin # cat backup.sh
./dsmc incr /opt/tivoli/tsm/client/ba/bin/test/test/*
on crontab:-
:/opt/tivoli/tsm/client/ba/bin # crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXM5umCC installed on Wed May 2 13:26:20 2018)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
0 0 * * * /usr/bin/nmon -f -t -s 60 -c 1440 -m /home
0 0 * * * /home/nmon_rotate.sh
30 13 * * * /opt/tivoli/tsm/client/ba/bin/backup.sh
getting error on mail
From [email protected] Wed May 2 13:30:01 2018
Return-Path: <[email protected]>
X-Original-To: root
Delivered-To: [email protected]
Received: by DEV.sand.co.in (Postfix, from userid 0)
id 296BF612E; Wed, 2 May 2018 13:30:01 +0530 (IST)
From: [email protected]
To: [email protected]
Subject: Cron <root@DEV > /opt/tivoli/tsm/client/ba/bin/backup.sh
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <[email protected]>
Date: Wed, 2 May 2018 13:30:01 +0530 (IST)
/opt/tivoli/tsm/client/ba/bin/backup.sh: line 1: ./dsmc: No such file or directory