I have an Ubuntu box which I can access remotely via SSH. It is primarily a server but has a GUI with Firefox running on it for people on site to access the web interface that the server provides.
Firefox, being Firefox, sucks up memory the longer it's running.
So I'd like a way to force it to restart via my SSH connection, and assuming I'm happy with the results probably via a cron-job every night.
I can obviously "kill" it, but I'm not sure how I then restart it given that I'm not running from within the GUI environment myself; also, I don't want it to start up offering to restore tabs from a crashed session, I just want it to go to it's configured home page.
Suggestions?