1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-01-20 10:52:15 +01:00
yubikey-val/ykval-queuedaemon.php

17 lines
303 B
PHP
Raw Normal View History

2009-12-07 13:33:24 +00:00
<?php
require_once 'ykval-synclib.php';
require_once 'ykval-config.php';
$sl = new SyncLib();
2009-12-07 15:31:33 +00:00
$resync = $baseParams['__YKVAL_SYNC_INTERVAL__'];
2009-12-07 13:33:24 +00:00
# Loop forever and resync
while (True) {
2009-12-07 15:31:33 +00:00
$sl->reSync($baseParams['__YKVAL_SYNC_OLD_LIMIT__']);
2009-12-07 13:33:24 +00:00
2009-12-07 15:39:04 +00:00
sleep($baseParams['__YKVAL_SYNC_INTERVAL__']);
}
2009-12-07 13:33:24 +00:00
?>