Van Der Hoff ICT Posted January 9, 2019 Posted January 9, 2019 Hi, Is it possible to continue a script after a reboot using Tasks? I build a PowerShell script where a reboot is required and needs to continue after te reboot. Â
Staff Chris Posted February 22, 2019 Staff Posted February 22, 2019 Hi Van, Unfortunately it is not possible because the Pulseway process will be restarted and it will no longer know what needs to be done unless you will send a new script from the Pulseway server to execute it.
David Posted March 3, 2019 Posted March 3, 2019 For this scenario, I just build multiple scripts and run in sequence.
dbeckwitt Posted August 20, 2019 Posted August 20, 2019 Seems simple enough.. use 'script 1' to generate a 'key' file right before reboot. On reboot, monitor for that file > if it exists, run your 2nd script (which deletes the 'key' file before termination) Â
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now