コード例 #1
0
 def handle(self, *args, **kwargs):
     updated_bas = tasks.update_bas(['BPA', 'ISONE', 'MISO', 'PJM'])
     utils.perform_scheduled_tasks()
     tasks.send_ne_texts_if_necessary()
     print (updated_bas)
コード例 #2
0
ファイル: runhourly.py プロジェクト: Gavin-McCormick/watttime
    def handle(self, *args, **kwargs):
        updated_bas = tasks.update_bas(['CAISO'])
        print (updated_bas)

        tweet_status = tasks.send_tweet('CAISO')
        print tweet_status