If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how to see crontab

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-19-10, 09:37
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
how to see crontab

$ crontab -l
0481-103 Cannot open a file in the /var/spool/cron/crontabs directory.
A file or directory in the path name does not exist.

i am geeting above error,
but crontab is already sheduled for backup, i found that one from
db2 list history backup command
how to find path to crontabs,
pls help me out.
Reply With Quote
  #2 (permalink)  
Old 12-19-10, 10:30
Marcus_A Marcus_A is online now
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
If crontab -e, or crontab -l, does not work, I would ask this question in a UNIX or Linux forum (not sure which OS you are using).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 12-19-10, 10:55
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
what is the output for crontab -e ? crontab -e will allow you to do a vi of your existing cronjobs. If that file itself empty, explains the reason of the error you are facing with crontab -l.

In a typical aix box, crontab directory will reside somewhere in /var/spool/cron. For more appropriate answers in case the above doesn't help, you can get faster help from the UNIX forums.
__________________

Jayanta Datta
DB2 UDB DBA
IBM India, Global Delivery
New Delhi
Reply With Quote
  #4 (permalink)  
Old 12-20-10, 23:13
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
thanku so much for ur response
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On