Update imapsync_cron.pl
Second unlocking lock_file failed because it was already unlocked.master
parent
99eb61a449
commit
e59417ed78
|
@ -146,7 +146,6 @@ while ($row = $sth->fetchrow_arrayref()) {
|
|||
$update = $dbh->prepare("UPDATE imapsync SET last_run = NOW(), is_running = 0 WHERE id = ?");
|
||||
$update->bind_param( 1, ${id} );
|
||||
$update->execute();
|
||||
$lockmgr->unlock($lock_file);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue