/var/tmp and file lifetime
Posted
by clorz
on Server Fault
See other posts from Server Fault
or by clorz
Published on 2010-06-01T14:23:15Z
Indexed on
2010/06/01
14:34 UTC
Read the original article
Hit count: 241
Hi everyone
I've got a cronjob that runs every minute and checks existence of a certain file. If there's no such file, job silently ends. If there is a file, then another script is started. That script removes the file when done. Its execution time can take up to 20 minutes.
My questions are: Are there any flaws in this scheme? Is it ok to store such file in tmp? Can I be shure that nothing will attempt to remove it?
© Server Fault or respective owner