only run finaid report on wednesdays, heroku only has a daily scheduler
@@ -13,6 +13,7 @@ logger = logging.getLogger(__name__)
class Command(NoArgsCommand):
def handle_noargs(self, **options):
+ if datetime.datetime.now().isoweekday() == 3: # Wednesday
result = FinancialAidApplication.objects.aggregate(Count('id'), Sum('amount_requested'))
template_name = 'admin/weekly'
send_email_message(template_name,
