"be consistent" | |
PerlMonks |
Re^3: reboot a system (machine or server) multiple times with perl scriptby choroba (Cardinal) |
on Mar 13, 2015 at 11:26 UTC ( [id://1119942]=note: print w/replies, xml ) | Need Help?? |
Once the system reboots, the script is no longer running. You have to leave some kind of persistent information for the system to iterate the next step, probably create a file somewhere. You also have to configure the system to check for the information upon start-up.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|