Harddisk standby

Hi,
Sorry for the question, how can i get the harddisk to standby mode, it runs 24hour a day, i have move the data and database on it. But it will be nice to set the harddisk to standby when nextcloudpi it not on use.
is the any tipp to get this work to.

thy