help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using (last modification time + x minutes) instead of last modifi cation


From: stbrice dsi
Subject: using (last modification time + x minutes) instead of last modifi cation time
Date: Mon, 17 Jun 2002 12:05:35 +0200

hi all,

i'm planning the use of gnu make for synchronizing 2 databases by checking if extraction of the first is newer than
the last reload into the second.

i'm facing the problem of the asynchrone run of make (cron every 5 minutes) and the creation of the extraction file by the first database.

if make run the reload and the data file is still used by the extract (that can took more than 5 minutes in some cases ...), it make an error: that's normal.

is anyone who know a way to say to make:

            consider ((last modification time+5 minutes) newer than last mod. time of target) as a rule to reconsider building a target.

                                                            /\/\/\/\/\/\/\

that should avoid my problem (5 minutes after the last write should be ok for my extract to be considered terminated).

thanks for your advices.

frederic

-----------------------------------------
Beuserie Frederic
DSI / Système et Exploitation - 3 Suisses Belgique
Email: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]