fixed some logic in cron job for shouldbeopen and shouldbeclosed variables
Signed-off-by:Matthew Scaperoth <mscapero@gwu.edu>