Solved

crontab -e history

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

790 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