|
|
 |
 |
 |
system.agents.SchedulerMonitor
Add error protection to the schedule monitor. On failures log the error.
| |
«10/4/04; 6:50:20 PM by JES |
| |
«Call scheduler.monitor in a try block, and if an error occurs, put it in the status message in the about window. Change suggested by DAB. |
| «try {scheduler.monitor ()} |
| |
msg (string.timestring() + ":" + "OK" ) |
| |
msg (string.timestring() + ":" + "Error: " + tryError) |
| local (day, month, year, hour, minute, second) |
| date.get (clock.now (), @day, @month, @year, @hour, @minute, @second) |
| clock.sleepFor (60 - second) //sleep until next minute tick |
Relative to Frontier version 9.7b10
|