(11, 0, 120, 1, 'd', 1, 'remove_temp_attachments'),
(12, 0, 180, 1, 'd', 1, 'remove_topic_redirect'),
(13, 0, 240, 1, 'd', 1, 'remove_old_drafts'),
INSERT INTO {$db_prefix}scheduled_tasks
(next_time, time_offset, time_regularity, time_unit, disabled, task)
VALUES
(0, 120, 1, 'd', 0, 'remove_temp_attachments');
INSERT INTO {$db_prefix}scheduled_tasks
(next_time, time_offset, time_regularity, time_unit, disabled, task)
VALUES
(0, 180, 1, 'd', 0, 'remove_topic_redirect');
INSERT INTO {$db_prefix}scheduled_tasks
(next_time, time_offset, time_regularity, time_unit, disabled, task)
VALUES
(0, 240, 1, 'd', 0, 'remove_old_drafts');
So, disabled or not disabled? O:-)
Sorry for the confusion, I wanted to say that during install these scheduled tasks are set disabled, while when upgrading are enabled.
I would set them one way or the other. :P (enabled seems the more logical)
Seems like they should be enabled by default except for the remove old drafts which I think I set to enable disable when the feature is turned on/off. So that one should be off by default and let the feature decide if its on or not.