Skip to content

Commit

Permalink
Merge pull request #61 from xzzy/master
Browse files Browse the repository at this point in the history
Fix cron scripts
  • Loading branch information
xzzy authored Jan 23, 2024
2 parents 600468f + 1bb5fdf commit 2c567ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Command(BaseCommand):

def handle(self, *args, **options):
print ("Running Notificaiton Job")
checks = utils.get_checks()
checks = utils.get_checks(None,None)
manual_checks = models.ManualCheck.objects.filter(active=True)
t = email_templates.AppCheckList()
to_addresses=[]
Expand Down
3 changes: 2 additions & 1 deletion appmonitor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@
CRON_CLASSES = [
'appmonitor.cron.CronJobNotificationEmailWeekDays',
'appmonitor.cron.CronJobNotificationEmailWeekends',
'appmonitor.cron.CronJobDBArchive'
'appmonitor_client.cron.CronJobAppMonitorClient',
'appmonitor.cron.CronJobDBArchive',

]

Expand Down

0 comments on commit 2c567ae

Please sign in to comment.