Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
RE: [SLE] cron not recognizing changes to /etc/cron.d files [SOLVED]
  • From: "Greg Wallace" <gregwallace@xxxxxxxxxxx>
  • Date: Sun, 9 Apr 2006 23:49:07 -0500
  • Message-id: <!&!AAAAAAAAAAAYAAAAAAAAABYv/fsiAbFHuuseWu7lbHnCgAAAEAAAAAW+gTE5F0RMv/XUFn+eKKIBAAAAAA==@xxxxxxxxxxx>
On Sunday, April 09, 2006 @ 2:50 PM, Joachim Schrod wrote:

>Greg Wallace wrote:
>>
>> Pardon the interruption, but I had been led to believe that a creation
date
>> was not maintained in Linux file systems - only last access and last
>> modified. What command can you use to access the creation time stamp?
>> Again, pardon the interruption, but I'd really like to know how to access
>> this information.

>Sorry, this was jargon.

>What actually is tested is the so-called "ctime", the time of last
>modification
>of file status information. It can be shown by the -lc options of ls.

>If the file has not been renamed and not edited, as it is the case for this

>timestamp flag file, it is the time of creation. With touch one can change
the
>last modification date, but not the file status change date.

>In fact, I never understood why run-crons uses the find options -ctime and
>-cmin, and not -mtime and -mmin. That would allow us users to change the
>execution time of daily scripts with a single touch command, which would be

>*much* better than the current solution to delete the timestamp file with
in an
>at job. While this is not a bug, it is still a nuisance. OTOH, my
experience
>with SUSE's ticket system is not such that the effort to open a ticket
there
>would be time well spent.

>By the way, the full formal definition of ctime is buried in the pit of the

>Single Unix Specification; where every function that changes the ctime
value
>says so explicitly in its description.
>See http://www.opengroup.org/onlinepubs/009695399/toc.htm

> Joachim

Joachim:

I promise I'm not trying to steal this thread, but I'm going to push my
luck and ask a question. What type of action changes the file's status
change date (and would that also necessarily change the file's
creation/modification date?)?

Thanks,
Greg Wallace



< Previous Next >
References