?
Solved

crontab -e history

Posted on 2002-06-28
3
Medium Priority
?
8,131 Views
Last Modified: 2013-12-27
Hi...how to check when is the
last time change has been made
to crontab file.

i have hashed a cron statement
and not remember either it
should be running or not originally.

and not sure either i have hashed oracle cron
or root cron.

any help is greatly aprreacited.

tq
0
Comment
Question by:ismahwati
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
msnr earned 100 total points
ID: 7116120
cd /var/spool/cron/crontab

do  #ls -l

Date will show you last modified time..
if u change the contents , the time and date of the file will get changed.....

try that.....


msnr
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 7116128
ls -l /var/spool/cron/crontabs
0
 

Author Comment

by:ismahwati
ID: 7120916
tq. it helps .
anyway, the info in the var/spool/cron/crontab
only shows the last change had been made to cron.

is there anyway i can see the change before
that ( or few past transactions)

tq.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question