disappearing into thin air.
Looking at the atrun source, I think there is a race condition.
When atrun starts running a job, the first thing it does is
chmod the job file to 400. But in main() we have
/* Delete older files
*/
if ((run_time now) !(S_IXUSR buf.st_mode
I have a cron job that looks for files in /tmp and other
directories that are more than X days old so that they go away and
don't keep piling up. Every few days, I get a message like:
--- Forwarded Message
Date:Fri, 23 Jan 2004 10:51:00 CST
From:[EMAIL PROTECTED](Cron
On Friday 23 January 2004 17:13, Martin McCormick wrote:
I have a cron job that looks for files in /tmp and other
directories that are more than X days old so that they go away and
don't keep piling up. Every few days, I get a message like:
--- Forwarded Message
Date:Fri, 23
Thank you.
Daniela writes:
Yes, that's most likely the cause.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
In the last episode (Jan 23), Martin McCormick said:
Thank you.
Daniela writes:
Yes, that's most likely the cause.
If you use find's -delete action instead of -exec, you can shorten the
window between finding and deleting.
--
Dan Nelson
[EMAIL PROTECTED]