I would suggest you create a cron job to do it.
If you go here: http://www.mkaz.com/ref/unix_cron.html
there is a pretty good explanation of how to use it. You can delete the job the next day if you want.
I would say if you opened an SSH session and used the '&' after the command which makes the command run in the background, it will end once you end your ssh session.