I have a script that is running some package updates and I want to do a reboot after they are done. The only problem is there are executions that must happen after the reboot occurs. Obviously the script will no longer be running once the system is rebooted.How can I continue what the script was doing after the reboot?Is there any setting that says nextBoot or anything like that where I could insert the contents of the rest of the script?I know about /etc/init.d but this script is only going to be running once a month at most and I don't want the whole script to be running on boot.thanks in advance!
Running a script with shutdown in the middle
scripting;aix;reboot;suse;oracle linux