Van Der Hoff ICT Posted January 9, 2019 Share 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. Â Link to comment Share on other sites More sharing options...
Staff Chris Posted February 22, 2019 Staff Share 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. Link to comment Share on other sites More sharing options...
David Posted March 3, 2019 Share Posted March 3, 2019 For this scenario, I just build multiple scripts and run in sequence. Link to comment Share on other sites More sharing options...
dbeckwitt Posted August 20, 2019 Share 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) Â Link to comment Share on other sites More sharing options...
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