Operating System - HP-UX
1836484 Members
2038 Online
110101 Solutions
New Discussion

Can schedule a new kernel?

 
SOLVED
Go to solution
Eric Antunes
Honored Contributor

Can schedule a new kernel?

I need to change 2 parameters from the kernel, can I schedule this modification to 04:00 AM for exemple? How to do this??

Thanks,

Eric
Each and every day is a good day to learn.
3 REPLIES 3
Tomek Gryszkiewicz
Trusted Contributor

Re: Can schedule a new kernel?

If the kernel needs reboot after the modifications, you can basically compile it now and set the reboot in crontab to 4am

-Tomek
Pete Randall
Outstanding Contributor

Re: Can schedule a new kernel?

Eric,

One thing you can do, though it has some inherent risk, is to use SAM to build your kernel, move it into place but delay the reboot (at least you used to be able to do this with SAM - I haven't tried it in quite a while). Then you schedule an at job to do the reboot at 0400:

at 0400 tomorrow
cd /
shutdown -r -y 0
d


Pete

Pete
Victor BERRIDGE
Honored Contributor
Solution

Re: Can schedule a new kernel?

Hi Eric,
Yes you can configure a new kernel, with cron schedule a reboot...
But after configuring a new kernel dont forget to use kmupdate ! (man kmupdate...)


All the best
Victor