Operating System - HP-UX
1752579 Members
2874 Online
108788 Solutions
New Discussion юеВ

Re: timestamp on crontabs

 
SOLVED
Go to solution
Shivkumar
Super Advisor

timestamp on crontabs

Hi,

Is timestamp on "/var/spool/cron/crontabs" changes if server rebooted after patching ?

Thanks,
Shiv
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: timestamp on crontabs

No, it shouldn't.

The only time the timestamp should change is when the crontab file is modified.
Ganesan R
Honored Contributor
Solution

Re: timestamp on crontabs

Hi Shivkumar,

This directory contains all users cron jobs in the name of the respective user.

For example, root cron jobs will be there in the name of root. So whenever the user or root make changes using crontab command the timestamp should get changed.
Best wishes,

Ganesh.
Dennis Handly
Acclaimed Contributor

Re: timestamp on crontabs

The timestamp on the directory will only change if a user is added or deleted. I don't think a modification of a file would count, unless crontab deletes the file first?
avizen9
Esteemed Contributor

Re: timestamp on crontabs

Hello Shivkumar,
what you are looking for?
there is no relation between server patching and crontab, as mentioned timestamp will not change when server will reboot after patching activity,

however all patch logs are store in /var/adm/sw/swagent.log

let us know what exectly you are looking for, thanks,