Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 18 Apr 2014 @ 20:53:11 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Procedure to set up PACKDISK utility on database node
 
From:   JAMES PARK

Thank you, Antonio.

I have a couple of questions.

1. There is a file called crontab under etc directory. Can I put multiple schedules in this one file. Or can I create more crontab files under etc such as crontab1, crontab2... and put only one schedule in each crontabX file?

2. When I opened crontab file under etc I expected to see nothing. But I see at the top of the file SHELL=/bin/sh PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin MAILTO=root


I wonder why these lines were there and what they do and how they will affect running packdisk command file.

3. I'd like to run Packdisk utility once a week Thursday 7pm. Should I write?

     0  19  *  *  thu /.......................

4. Is there a way to set up email notification in either crontab file or the packdisk command file that when packdisk finishes running it send an email saying "It finished successfully." with an output?

I come from Windows and Linux is a new world to me.


Thank you,

James Park
Database Specialist



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023