We are using RSH and the sever calling the scripts is in the host.equiv file. With this working, all commands are identical to those typed in the console.
snap delete -V <vol-name> nightly.7
snap rename -V <vol-name> nightly.6 nightly.7
snap rename -V <vol-name> nightly.5 nightly.6
snap rename -V <vol-name> nightly.4 nightly.5
snap rename -V <vol-name> nightly.3 nightly.4
snap rename -V <vol-name> nightly.2 nightly.3
snap rename -V <vol-name> nightly.1 nightly.2
snap create -V <vol-name> nightly.1
You can do the something similar with the weekly.# rotation. You can also use ssh.
Information for RSH can be found in setting up a silimar script, but more complicated, in the VMware notes for NetApp. If you can't find them, let me know and I'll look around.