Try the su command that someone else responded with earlier. On Sat, 2004-01-10 at 21:31, Noll, Ralph wrote: > 30 17 * * * db2 backup db sample use tsm > > above is my cron job for user db2inst1 > > I have gotten many mail msgs on root's mail > that says can't execute binary file > see below > > zvmlinx1:/home/db2inst1/sqllib/bin # mail > Mail version 8.1 6/6/93. Type ? for help. > "/var/mail/root": 3 messages 3 new > >N 1 [EMAIL PROTECTED] Sat Jan 10 21:26 17/622 "Cron <[EMAIL PROTECTED]> " > N 2 [EMAIL PROTECTED] Sat Jan 10 21:27 17/622 "Cron <[EMAIL PROTECTED]> " > N 3 [EMAIL PROTECTED] Sat Jan 10 21:28 17/622 "Cron <[EMAIL PROTECTED]> " > & > Message 1: > >From [EMAIL PROTECTED] Sat Jan 10 21:26:01 2004 > Delivered-To: [EMAIL PROTECTED] > From: [EMAIL PROTECTED] (Cron Daemon) > To: [EMAIL PROTECTED] > Subject: Cron <[EMAIL PROTECTED]> su - db2inst1 db2 backup db sample use tsm > X-Cron-Env: <SHELL=/bin/sh> > X-Cron-Env: <HOME=/root> > X-Cron-Env: <PATH=/usr/bin:/bin> > X-Cron-Env: <LOGNAME=root> > Date: Sat, 10 Jan 2004 21:26:01 -0600 (CST) > > db2: /home/db2inst1/sqllib/bin/db2: cannot execute binary file > > why is it trying the cron job... > i thought i had it set for 17:30 every day every month every weekday??? > > Ralph -- Rich Smrcina Sr. Systems Engineer Sytek Services - A Division of DSG Milwaukee, WI rsmrcina at wi.rr.com rsmrcina at dsgroup.com
Catch the WAVV! Stay for requirements and the free-for-all. Update your zSeries skills in 4 days for a very reasonable price. WAVV 2004 in Chattanooga, TN April 30-May 4, 2004 For details see http://www.wavv.org
