Page 1 of 1

AS4004T: NAS should not shut down when task is running

Posted: Sat Jan 12, 2019 3:48 pm
by huste511
Not everyone has the NAS running 24 hours straight. If you turn it on or off according to the time you unfortunately encounter some problems.

If you let performing a hard disk scan, the NAS is simply turned off, just after timer. But it would make more sense to turn off the NAS after completing the task.

Unfortunately, the task is neither continued nor restarted at the next start.

Re: AS4004T: NAS should not shut down when task is running

Posted: Sun Jan 13, 2019 12:09 am
by father.mande
Hi,

I think that some exception exist (in backup for ex. ... to wait until backup is ended) BUT nothing "generic" for all
... the workaround can be : use the sleep mode in place of poweroff ... NAS can't enter in sleep mode if disk activity
... you can also manage it yourself :
ex. (but it's only an example)
... before starting your task ... add a cron task "@reboot"
... ... so if the NAS is powered off before the end of your task ... this task restart at reboot
... if task is finish ... just remove the cron line

As usual in Linux it's difficult to create a "generic" solution ... but easy to build specific solution ... I think you can explain your problem (with all the elements) to the Asustor support to get help to get a response to your requirement ...

Philippe.