<commit_before>from apscheduler.schedulers.blocking import BlockingScheduler
import os
import requests

if 'GROUPME_BOT_ID' in os.environ:
    GROUPME_BOT_ID = os.environ['GROUPME_BOT_ID']
else:
    import secrets
    GROUPME_BOT_ID = secrets.GROUPME_BOT_ID

sched = BlockingScheduler()

@sched.scheduled_job('cron', day_of_week='mon,wed,fri', hour=9)
def scheduled_job():
    requests.post("https://api.groupme.com/v3/bots/post", data={
        "text" : 'Dishwasher cycle scheduled for today.',
        "bot_id" : GROUPME_BOT_ID
    })

print "Starting scheduler."
sched.start()<commit_msg>schedule<commit_after>from apscheduler.schedulers.blocking import BlockingScheduler
import os
import requests

if 'GROUPME_BOT_ID' in os.environ:
    GROUPME_BOT_ID = os.environ['GROUPME_BOT_ID']
else:
    import secrets
    GROUPME_BOT_ID = secrets.GROUPME_BOT_ID

sched = BlockingScheduler()

@sched.scheduled_job('cron', day_of_week='mon,thu', hour=9)
def scheduled_job():
    requests.post("https://api.groupme.com/v3/bots/post", data={
        "text" : 'Dishwasher cycle scheduled for today. (Mondays and Thursdays)',
        "bot_id" : GROUPME_BOT_ID
    })

print "Starting scheduler."
sched.start()
{'fraction_non_alphanumeric': 0.11946532999164577, 'fraction_numerical': 0.003341687552213868, 'mean_word_length': 4.759615384615385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7096561', 'n_tokens_mistral': 446, 'n_tokens_neox': 435, 'n_words': 82}