could be, but what if it still doesn't have access? This is a script which absolutely has to be run every night, but which might have a problem to access certain files (if a user is busy...).
was thinking of a "for()" statement...
for (!$open = site_is_open()) {
$open = site_is_open();
}
what do you think?