From 9fc399e8661927db4ba651a7ffb2cd101537275c Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 10 Jan 2017 02:20:23 +0100 Subject: [PATCH] fixed crons so they dot ovveride last run and status --- mojotrollz/sql/mysql/system_cron.sql | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mojotrollz/sql/mysql/system_cron.sql b/mojotrollz/sql/mysql/system_cron.sql index deba9c4..f424503 100644 --- a/mojotrollz/sql/mysql/system_cron.sql +++ b/mojotrollz/sql/mysql/system_cron.sql @@ -1,19 +1,19 @@ -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_calculate_votes', 0, 0, 1, 0, 0, NULL, 0); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_calculate_votes', 0, 0, 1, 0, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_players_online_ts', NULL, NULL, NULL, NULL, NULL, NULL, 0); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_players_online_ts', NULL, NULL, NULL, NULL, NULL); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_players_online_tbc', NULL, NULL, NULL, NULL, NULL, NULL, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_players_online_tbc_test', NULL, NULL, NULL, NULL, NULL, NULL, 0); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_players_online_tbc', NULL, NULL, NULL, NULL, NULL); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_players_online_tbc_test', NULL, NULL, NULL, NULL, NULL); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_players_online_classic', NULL, NULL, NULL, NULL, NULL, NULL, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_players_online_classic_test', NULL, NULL, NULL, NULL, NULL, NULL, 0); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_players_online_classic', NULL, NULL, NULL, NULL, NULL); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_players_online_classic_test', NULL, NULL, NULL, NULL, NULL); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_online_classic_realm', NULL, NULL, NULL, NULL, NULL, NULL, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_online_classic_world', NULL, NULL, NULL, NULL, NULL, NULL, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_online_classic_world_test', NULL, NULL, NULL, NULL, NULL, NULL, 0); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_online_classic_realm', NULL, NULL, NULL, NULL, NULL); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_online_classic_world', NULL, NULL, NULL, NULL, NULL); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_online_classic_world_test', NULL, NULL, NULL, NULL, NULL); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_online_tbc_realm', NULL, NULL, NULL, NULL, NULL, NULL, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_online_tbc_world', NULL, NULL, NULL, NULL, NULL, NULL, 0); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_online_tbc_world_test', NULL, NULL, NULL, NULL, NULL, NULL, 0); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_online_tbc_realm', NULL, NULL, NULL, NULL, NULL); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_online_tbc_world', NULL, NULL, NULL, NULL, NULL); +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_online_tbc_world_test', NULL, NULL, NULL, NULL, NULL); -REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`, `last_run`, `status`) VALUES ('cron_server_bot_tbc_live', NULL, NULL, NULL, NULL, NULL, NULL, 0); \ No newline at end of file +REPLACE INTO `system_cron` (`class`, `min`, `hour`, `day`, `day_week`, `month`) VALUES ('cron_server_bot_tbc_live', NULL, NULL, NULL, NULL, NULL); \ No newline at end of file