Update mysql.sql

This commit is contained in:
Roman Kelesidis 2024-02-11 21:24:26 +07:00
commit d2ec089d8f

View file

@ -610,50 +610,51 @@ CREATE TABLE IF NOT EXISTS `bb_cron`
INSERT INTO `bb_cron` (`cron_active`, `cron_title`, `cron_script`, `schedule`, `run_day`, `run_time`, `run_order`, INSERT INTO `bb_cron` (`cron_active`, `cron_title`, `cron_script`, `schedule`, `run_day`, `run_time`, `run_order`,
`last_run`, `next_run`, `run_interval`, `log_enabled`, `log_file`, `log_sql_queries`, `last_run`, `next_run`, `run_interval`, `log_enabled`, `log_file`, `log_sql_queries`,
`disable_board`, `run_counter`) `disable_board`, `run_counter`)
VALUES ('1', 'Attach maintenance', 'attach_maintenance.php', 'daily', '', '05:00:00', '40', '', '', '', '1', '', '0', VALUES ('1', 'Attach maintenance', 'attach_maintenance.php', 'daily', '', '05:00:00', '10', '', '', '', '1', '', '0',
'1', '0'), '1', '0'),
('1', 'Board maintenance', 'board_maintenance.php', 'daily', '', '05:00:00', '40', '', '', '', '1', '', '0', '1', ('1', 'Board maintenance', 'board_maintenance.php', 'daily', '', '05:00:00', '15', '', '', '', '1', '', '0', '1',
'0'), '0'),
('1', 'Prune forums', 'prune_forums.php', 'daily', '', '05:00:00', '50', '', '', '', '1', '', '0', '1', '0'), ('1', 'Prune forums', 'prune_forums.php', 'daily', '', '05:00:00', '20', '', '', '', '1', '', '0', '1', '0'),
('1', 'Prune topic moved stubs', 'prune_topic_moved.php', 'daily', '', '05:00:00', '60', '', '', '', '1', '', ('1', 'Prune topic moved stubs', 'prune_topic_moved.php', 'daily', '', '05:00:00', '25', '', '', '', '1', '',
'0', '0',
'1', '0'), '1', '0'),
('1', 'Logs cleanup', 'clean_log.php', 'daily', '', '05:00:00', '70', '', '', '', '1', '', '0', '1', '0'), ('1', 'Logs cleanup', 'clean_log.php', 'daily', '', '05:00:00', '30', '', '', '', '0', '', '0', '1', '0'),
('1', 'PM cleanup', 'clean_pm.php', 'daily', '', '05:00:00', '70', '', '', '', '1', '', '0', '1', '0'), ('1', 'PM cleanup', 'clean_pm.php', 'daily', '', '05:00:00', '35', '', '', '', '0', '', '0', '1', '0'),
('1', 'Tracker maintenance', 'tr_maintenance.php', 'daily', '', '05:00:00', '90', '', '', '', '1', '', '0', '1', ('1', 'Tracker maintenance', 'tr_maintenance.php', 'daily', '', '05:00:00', '40', '', '', '', '0', '', '0', '1',
'0'), '0'),
('1', 'Clean dlstat', 'clean_dlstat.php', 'daily', '', '05:00:00', '100', '', '', '', '1', '', '0', '1', '0'), ('1', 'Clean dlstat', 'clean_dlstat.php', 'daily', '', '05:00:00', '45', '', '', '', '0', '', '0', '1', '0'),
('1', 'Prune inactive users', 'prune_inactive_users.php', 'daily', '', '05:00:00', '110', '', '', '', '1', '', ('1', 'Prune inactive users', 'prune_inactive_users.php', 'daily', '', '05:00:00', '50', '', '', '', '0', '',
'0', '1', '0'), '0', '1', '0'),
('1', 'Sessions cleanup', 'sessions_cleanup.php', 'interval', '', '', '255', '', '', '00:03:00', '0', '', '0', ('1', 'Sessions cleanup', 'sessions_cleanup.php', 'interval', '', '', '55', '', '', '00:03:00', '0', '', '0',
'0', '0'), '0', '0'),
('1', 'DS update cat_forums', 'ds_update_cat_forums.php', 'interval', '', '', '255', '', '', '00:05:00', '0', '', ('1', 'DS update cat_forums', 'ds_update_cat_forums.php', 'interval', '', '', '60', '', '', '00:05:00', '0', '',
'0', '0', '0'), '0', '0', '0'),
('1', 'DS update stats', 'ds_update_stats.php', 'interval', '', '', '255', '', '', '00:10:00', '0', '', '0', '0', ('1', 'DS update stats', 'ds_update_stats.php', 'interval', '', '', '65', '', '', '00:10:00', '0', '', '0', '0',
'0'), '0'),
('1', 'Flash topic view', 'flash_topic_view.php', 'interval', '', '', '255', '', '', '00:10:00', '0', '', '0', ('1', 'Flash topic view', 'flash_topic_view.php', 'interval', '', '', '70', '', '', '00:10:00', '0', '', '0',
'0', '0'), '0', '0'),
('1', 'Clean search results', 'clean_search_results.php', 'interval', '', '', '255', '', '', '00:10:00', '0', '', ('1', 'Clean search results', 'clean_search_results.php', 'interval', '', '', '75', '', '', '00:10:00', '0', '',
'0', '0', '0'), '0', '0', '0'),
('1', 'Tracker cleanup and dlstat', 'tr_cleanup_and_dlstat.php', 'interval', '', '', '20', '', '', '00:15:00', ('1', 'Tracker cleanup and dlstat', 'tr_cleanup_and_dlstat.php', 'interval', '', '', '80', '', '', '00:15:00',
'0', '', '0', '0', '0'), '0', '', '0', '0', '0'),
('1', 'Accrual seedbonus', 'tr_seed_bonus.php', 'interval', '', '', '25', '', '', '00:15:00', '0', '', '0', '0', ('1', 'Accrual seedbonus', 'tr_seed_bonus.php', 'interval', '', '', '85', '', '', '00:15:00', '0', '', '0', '0',
'0'), '0'),
('1', 'Make tracker snapshot', 'tr_make_snapshot.php', 'interval', '', '', '10', '', '', '00:10:00', '0', '', ('1', 'Make tracker snapshot', 'tr_make_snapshot.php', 'interval', '', '', '90', '', '', '00:10:00', '0', '',
'0', '0',
'0', '0'), '0', '0'),
('1', 'Seeder last seen', 'tr_update_seeder_last_seen.php', 'interval', '', '', '255', '', '', '01:00:00', '0', ('1', 'Seeder last seen', 'tr_update_seeder_last_seen.php', 'interval', '', '', '95', '', '', '01:00:00', '0',
'', '0', '0', '0'), '', '0', '0', '0'),
('1', 'Tracker dl-complete count', 'tr_complete_count.php', 'interval', '', '', '255', '', '', '06:00:00', '0', ('1', 'Tracker dl-complete count', 'tr_complete_count.php', 'interval', '', '', '100', '', '', '06:00:00', '0',
'', '0', '0', '0'), '', '0', '0', '0'),
('1', 'Cache garbage collector', 'cache_gc.php', 'interval', '', '', '255', '', '', '00:05:00', '1', 'cache_gc_log', '0', ('1', 'Cache garbage collector', 'cache_gc.php', 'interval', '', '', '105', '', '', '00:05:00', '0',
'', '0',
'0', '0',
'0'), '0'),
('1', 'Sitemap update', 'sitemap.php', 'daily', '', '06:00:00', '30', '', '', '', '0', '', '0', '0', '0'), ('1', 'Sitemap update', 'sitemap.php', 'daily', '', '06:00:00', '110', '', '', '', '0', '', '0', '0', '0'),
('1', 'Update forums atom', 'update_forums_atom.php', 'interval', '', '', '255', '', '', '00:15:00', '0', '', ('1', 'Update forums atom', 'update_forums_atom.php', 'interval', '', '', '115', '', '', '00:15:00', '0', '',
'0', '0',
'0', '0'), '0', '0'),
('1', 'Demo mode', 'demo_mode.php', 'daily', '', '05:00:00', '260', '', '', '', '1', 'demo_mode_log', '0', '1', ('1', 'Demo mode', 'demo_mode.php', 'daily', '', '05:00:00', '255', '', '', '', '1', 'demo_mode_log', '1', '1',
'0'); '0');
-- ---------------------------- -- ----------------------------