I am currently working on a project using Ubuntu 14.04 at an airport that allows passengers to view a map of the United States. The map shows a live feed of the flights (both incoming and outgoing). The map is showing in Chrome, as flash is required and Firefox is currently having issues with Flash. I have the computer scheduled to shutdown each night around midnight using gedit. However I need to find a way to have Chrome shutdown properly beforehand say 11:59? The problem is I can't find a proper script. Each morning the IT dept at the airport is met with a prompt on the screen say 'Chrome did not shut down properly'. Now they could remote into the machine and click to close the prompt but are wanting the process automated. Any help would be appreciated!
Thanks