Stackscript - do some stuff, reboot, then do more stuff.

To put it simply, I want a stackscript to do some things, reboot, then continue where it left off and finish.

Any suggestions?

1 Reply

The StackScript itself needs to exit for the SS environment to clean up, else the SS will re-execute – so if you want to reboot you need to somehow 'schedule' it (temporary cron job, fork a process with a delay-before-rebooting, etc). Setting up what to happen after that step will be up to you.

-Chris

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct