@db_periodic_task(crontab(minute='<STR_LIT>'))<EOL>def updateFinancialItems():
if not getConstant('<STR_LIT>'):<EOL><INDENT>return<EOL><DEDENT>logger.info('<STR_LIT>')<EOL>if getConstant('<STR_LIT>'):<EOL><INDENT>createExpenseItemsForEvents()<EOL><DEDENT>if getConstant('<STR_LIT>'):<EOL><INDENT>createExpenseItemsForVenueRental()<EOL><DEDENT>if getConstant('<STR_LIT>'):<EOL><INDENT>createRevenueItemsForRegistrations()<EOL><DEDENT>
Every hour, create any necessary revenue items and expense items for
activities that need them.