SMB mount not permanet, could Hazel help

Hi,
Hazel monitores a folder on a mounted SMB-Share on my Windows Server 2012. Hazel is installed on a MacMini that runs unattended. This is he primarily purpose of the MacMini. Only sometimes is used for other things.
The Hazel rules (rename, move) are working fine, if the mounts are active. But the mounted shares are not permanent like it's in Windows.
The mounting is done by a script, that is running as a program. The script is starting on user login.
I have to run the script again to mount again. But the MacMini is running unattended, so this is a problem.
The standby of the MacMini is deactivated by caffine.
Could Hazel "help" to mount permanent by a rule? Or is there a other way to stay connected like in Windows?
thx
Juergen
Hazel monitores a folder on a mounted SMB-Share on my Windows Server 2012. Hazel is installed on a MacMini that runs unattended. This is he primarily purpose of the MacMini. Only sometimes is used for other things.
The Hazel rules (rename, move) are working fine, if the mounts are active. But the mounted shares are not permanent like it's in Windows.
The mounting is done by a script, that is running as a program. The script is starting on user login.
I have to run the script again to mount again. But the MacMini is running unattended, so this is a problem.
The standby of the MacMini is deactivated by caffine.
Could Hazel "help" to mount permanent by a rule? Or is there a other way to stay connected like in Windows?
thx
Juergen