When you append, append to temp file and update the last write date. Then mv your temp file to be the new version of the file you're updating.
In reply to Re: check to see if a file has todays data in it, if it has exit if not then add data
by perlfan
in thread check to see if a file has todays data in it, if it has exit if not then add data
by john.tm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |