Jump to content
Pulseway 9.14 🔥

Featured Replies

Posted

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.

 

  • 1 month later...
  • Staff

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.

  • 2 weeks later...

For this scenario, I just build multiple scripts and run in sequence.

  • 5 months later...

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)

 

Create an account or sign in to comment