Skip to content

Commit

Permalink
Change running time for the send stat cron task to every monday at 00:00
Browse files Browse the repository at this point in the history
  • Loading branch information
didia committed Jan 12, 2015
1 parent b6405f9 commit dcb172e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
cron:
- description: Send weekly stats to user and restart tracking
url: /crons/restart/weekly
schedule: every monday 06:00
schedule: every monday 00:00
timezone: Canada/Eastern
4 changes: 4 additions & 0 deletions trackdidia/tests/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,10 @@ def testGet(self):
response_dict_keys = response_dict.keys()
self.assertTrue("stress" in response_dict_keys)
self.assertTrue("execution" in response_dict_keys)

response_dict_keys = response['execution'].keys()
self.assertTrue("current-week" in response_dict_keys)
self.assertTrue("last-week" in response_dict_keys)



Expand Down

0 comments on commit dcb172e

Please sign in to comment.