Files
2025-10-17 17:59:28 +08:00

7 lines
136 B
SQL

use intelligence_system;
SELECT * FROM main_task
WHERE is_active = 1
AND next_run_time <= %s
AND is_running = 0
ORDER BY next_run_time;