Added date check
Added the actual portupgrade command
Added a mysql restart to make sure it is running afterwards