Mercurial > epgrec.yaz
changeset 21:19bd80c60009
modified: recomplete.php
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Fri, 17 Jul 2009 12:10:59 +0900 |
parents | 9ab4184561d9 |
children | 95629ba1f043 |
files | recomplete.php |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/recomplete.php Thu Jul 16 16:52:54 2009 +0900 +++ b/recomplete.php Fri Jul 17 12:10:59 2009 +0900 @@ -13,6 +13,9 @@ $rrec->complete = '1'; if( defined(MEDIATOMB_UPDATE) ) { if( MEDIATOMB_UPDATE ) { + // ちょっと待った方が確実っぽい + @exec("sync"); + sleep(60); $dbh = mysql_connect( DB_HOST, DB_USER, DB_PASS ); if( $dbh !== false ) { $sqlstr = "use ".DB_NAME;