Hi!
Just send it with an ASCII transfer to the SME server (to transform the Windows CR-LF to the Unix-like LF)
and put it in /usr/bin/, chmod it executable, then create a cron job in /etc/cron.d, which starts this script.
Or copy the script itself to /etc/cron.daily, /etc/cron.hourly etc.
Just remember to include full paths to the commands in the script, since there is no search path within cron jobs.