<?php

chdir("/***/ResearchGrabber");
require_once "prepend.php";
require_once "ProxiesService.php";
require_once "FileUtils.php";
require_once "StateUtils.php";
define("BUSY_FILENAME", "data/isBusy.dat");
$proxyService = new ProxiesService();
FileUtils::saveData("countersStat.log", $proxyService->getCountersState());
$proxyService->resetAll();
StateUtils::resetBusy(BUSY_FILENAME);
include "ExportData.php";