Using RuralGuy's approach you probably don't need to run the script.
However, to run a script automatically, but only once per day, you would need some code in, say, the Open Event procedure of your switchboard (or whichever form is set to open on startup) that checks some sort of flag in a table (probably a date field set in a system management type table). If the flag indicates that the process has run already that day (The field is set to today's date for instance), then skip the routine, otherwise run it. The routine would need to include code to log the fact that it had run (Set the field to today's date).