<?php

require_once __DIR__ . '/../services/QueueService.php';

QueueService::push('fetch_economic_calendar', ['hours_ahead' => 48], 'market_data', 0, 3);
QueueService::push('fetch_market_news', ['query' => 'gold OR forex OR bitcoin OR Federal Reserve OR Trump OR CPI OR NFP', 'limit' => 30], 'market_data', 0, 3);

echo '[' . date('Y-m-d H:i:s') . '] Jobs scheduled.' . PHP_EOL;
