diff options
Diffstat (limited to 'lib/_ak_network_yggdrasil')
-rwxr-xr-x | lib/_ak_network_yggdrasil | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/_ak_network_yggdrasil b/lib/_ak_network_yggdrasil index 27fc0c8..afabe70 100755 --- a/lib/_ak_network_yggdrasil +++ b/lib/_ak_network_yggdrasil @@ -17,8 +17,9 @@ ### You should have received a copy of the GNU General Public License ### along with this program. If not, see <http://www.gnu.org/licenses/>. ### -source $AK_LIBDIR/_ak_log -source $AK_LIBDIR/_ak_utils +source $AK_LIBDIR/_ak_lib_load +_ak_lib_load _ak_log +_ak_lib_load _ak_datetime function _ak_network_yggdrasil_scan_full(){ # This scan is using HIA resources to scan the whole cjdns network for peers @@ -36,7 +37,7 @@ function _ak_network_yggdrasil_scan_full(){ filtered_online_pubkeys_ips="$TEMPDIR/fopi" curl -s \ --connect-timeout 5 \ - "http://yia.yggdrasil-network.ca/crawler/crawler-yia.peers.$(date -u +%Y%m%d)" > $last_seen + "http://yia.yggdrasil-network.ca/crawler/crawler-yia.peers.$(_ak_datetime_human_date_only_yesterday)" > $last_seen if [ $? -ne 0 ] then _ak_log_error "Couldn't fetch active peers from YIA" @@ -114,3 +115,5 @@ function _ak_network_yggdrasil_scan(){ _ak_network_yggdrasil_scan_full fi } + +_ak_log_debug "_ak_network_yggdrasil loaded $(caller)" |