Files
Siro/backend/marketing_engine/cron_insert_task.php
T

10 lines
361 B
PHP

<?php
require_once __DIR__ . '/../core/bootstrap.php';
$con = Database::get('main');
// Insert the autonomous_scroll_and_reply task
$stmt = $con->prepare("INSERT INTO marketing_tasks (platform, type, status) VALUES ('facebook', 'autonomous_scroll_and_reply', 'pending')");
$stmt->execute();
echo "Task inserted successfully at " . date('Y-m-d H:i:s') . "\n";