Solved

crontab -e history

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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.
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.

770 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