[2025-11-10 22:15:22] [test_cron_environment] Lock acquired successfully. PID: 2727805 [2025-11-10 22:15:22] === Starting Cron Environment Test === [2025-11-10 22:15:22] Testing database connection... [2025-11-10 22:15:22] ✅ Database connection successful [2025-11-10 22:15:22] ✅ Database query successful - Found 0 tokens [2025-11-10 22:15:22] Testing token utility... [2025-11-10 22:15:22] ✅ Token utility loaded successfully [2025-11-10 22:15:22] ❌ User token not available [2025-11-10 22:15:22] ❌ Client credentials token not available [2025-11-10 22:15:22] Testing file permissions... [2025-11-10 22:15:22] ✅ Log file is writable [2025-11-10 22:15:22] Testing required PHP extensions... [2025-11-10 22:15:22] ✅ curl extension loaded [2025-11-10 22:15:22] ✅ json extension loaded [2025-11-10 22:15:22] ✅ pdo extension loaded [2025-11-10 22:15:22] ✅ pdo_mysql extension loaded [2025-11-10 22:15:22] Testing network connectivity... [2025-11-10 22:15:22] ✅ Network connectivity to eBay API successful (HTTP 405) [2025-11-10 22:15:22] Testing PHP limits... [2025-11-10 22:15:22] Memory limit: 128M [2025-11-10 22:15:22] Max execution time: 30 [2025-11-10 22:15:22] Current working directory: /var/www/html/crons [2025-11-10 22:15:22] Testing environment... [2025-11-10 22:15:22] PHP version: 8.3.6 [2025-11-10 22:15:22] Server software: Apache/2.4.58 (Ubuntu) [2025-11-10 22:15:22] User: root [2025-11-10 22:15:22] === Cron Environment Test Complete === === SUMMARY === Check the log file at: /var/www/html/crons/cron_environment_test.log If all tests pass, the cron job should work properly. If any tests fail, those issues need to be resolved first. [2025-11-10 22:15:22] [test_cron_environment] Lock released successfully.