예제 #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
    def handle(self, *args, **kwargs):
        updated_bas = tasks.update_bas(['CAISO'])
        print (updated_bas)

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