Solved

crontab -e history

Posted on 2002-06-28
3
7,445 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 25 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

726 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