This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Harvest (www.getharvest.com) does not support setting monthly budgets for projects. | |
The recommended workaround is creating a new project every month. This script is | |
supposed to run on the first of every month and uses the Harvest API in order to | |
archive last month's projects and create new ones for the current month. Members | |
and tasks are automatically copied over to the new project. | |
Projects with monthly budgets need to fulfill two requirements: | |
1. They need to have a budget set |