Shutdown task not visible after update

Kiyoshi

Cadet
Joined
Oct 1, 2016
Messages
9
I updated my system from freenas to truenas and now my shut down schedule is not visible in Init/Shutdown Scripts but is still actively shutting down my system.
 

Attachments

  • Screenshot_20210922-062430_Chrome.jpg
    Screenshot_20210922-062430_Chrome.jpg
    81.2 KB · Views: 180
  • Screenshot_20210922-062504_Chrome.jpg
    Screenshot_20210922-062504_Chrome.jpg
    173.5 KB · Views: 189

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
That is weird, can you check the output of "midclt call initshutdownscript.query" from the CLI?
 

Kiyoshi

Cadet
Joined
Oct 1, 2016
Messages
9
That is weird, can you check the output of "midclt call initshutdownscript.query" from the CLI?

Sorry for my dumb question am I supposed put "midclt call initshutdownscript.query" in the shell? If so nothing outputs
 

Attachments

  • Screenshot_20210922-090935_Chrome.jpg
    Screenshot_20210922-090935_Chrome.jpg
    123.1 KB · Views: 188
Last edited:

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Well, that explains why its not showing up in the UI then, nothing that the middleware is aware of is running... How did you add this task before? What version of FreeNAS? And can you check /etc/crontab to see if there's any hard-coded shutdown scripts in there?
 

Kiyoshi

Cadet
Joined
Oct 1, 2016
Messages
9
Well, that explains why its not showing up in the UI then, nothing that the middleware is aware of is running... How did you add this task before? What version of FreeNAS? And can you check /etc/crontab to see if there's any hard-coded shutdown scripts in there?

I fixed my problem!! thank you for trying to help! I feel so dumb hahaha I setup my shutdown task in Cron Jobs not Init/Shutdown Scripts LOL
 

Attachments

  • Capture.PNG
    Capture.PNG
    6 KB · Views: 182
Last edited:

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Ha, well glad it was an easy fix in the end :)
 
Top