@db_periodic_task(crontab(minute='<STR_LIT>'))<EOL>def updateSeriesRegistrationStatus():
from .models import Series<EOL>if not getConstant('<STR_LIT>'):<EOL><INDENT>return<EOL><DEDENT>logger.info('<STR_LIT>')<EOL>open_series = Series.objects.filter().filter(**{'<STR_LIT>': True})<EOL>for series in open_series:<EOL><INDENT>series.updateRegistrationStatus()<EOL><DEDENT>
Every hour, check if the series that are currently open for registration
should be closed.