<?php

require_once __DIR__ . '/../doctrine-config.php';

use Cron\AdCityForcedTextlinkCron;

try {
    $cron = new AdCityForcedTextlinkCron($entityManager);
    $cron->run();
} catch (\Exception $e) {
    echo "Fehler: " . $e->getMessage() . "\n";
    echo $e->getTraceAsString() . "\n";
    exit(1);
}
