Solved

crontab -e history

Posted on 2002-06-28
3
6,706 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
Comment Utility
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
Comment Utility
ls -l /var/spool/cron/crontabs
0
 

Author Comment

by:ismahwati
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now