Yes if you are using Oracle8i. You can use database event triggers for this purpose (AFTER STARTUP ON DATABASE trigger).