Added month setting for archive tasks (issue #3304)