def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def _every_weekday(job, weekday, loop=None):
    return every(job, timedelta=timedelta(days=7), start_at=_nearest_weekday(weekday), loop=loop)