I have a personal and work account on my machine. I'd like the automatic login to use the following logic (if you'll pardon my Python)... is this possible?
if (time < 5pm) and (day in workdays):
log in to work account
else:
log in to personal account