reactiveData/install/SYS_PRD_BND.CronJobs.sql
Frederico Falcao 14f96e78f9 IMPROVEMENT: bring Python trigger support to parity with PHP.
Add SQL bridge, support functions, cron jobs, error handling, and PyPI version pinning so Python triggers match PHP capabilities.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 00:13:18 +03:00

15 lines
513 B
SQL

USE SYS_PRD_BND;
CREATE TABLE IF NOT EXISTS `CronJobs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`Minute` int(11) NOT NULL DEFAULT -1,
`Hour` int(11) NOT NULL DEFAULT -1,
`DayOfMonth` int(11) NOT NULL DEFAULT -1,
`Month` int(11) NOT NULL DEFAULT -1,
`DayOfWeek` int(11) NOT NULL DEFAULT -1,
`PhpCode` text DEFAULT NULL,
`PyCode` text DEFAULT NULL,
`LastUpdated` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`LastError` text DEFAULT NULL,
PRIMARY KEY (`id`)
);