php/mysql process with user & admin privilege issue

I have this weekly countdown process and if a login user reaches the 0 weeks limit his page will be banned from the site, and that's fine, my problem is if i'm the admin i don't want this process to ban me, on this platform i have user and admin privileges like this: For admin: $user->isAdmin() and for the user : if($user->islg()