Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | app.autoRestart SEARCH    

  Functions
app.autoRestart
app.booster
app.cancelClose
app.close
app.filename
app.getParam
app.icon
app.init
app.install
app.language
app.maintenance
app.minimize
app.name
app.openAtStartup
app.restart
app.restore
app.setup
app.title
app.uninstall
app.uninstall.create
app.uninstall.remove

  Events
event.initialize
event.load
event.terminate

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
app.autoRestart

Language: MioScript
Product: MioFactory


Syntax

app.autoRestart()


Parameters

None.


Return value

No value is returned.


Description

Starts a timer to restart the application on a daily basis (at midnight).

As many users do not shutdown their computer everyday, it may be necessary to shutdown the application automatically to free the memory as the lost of small parts of memory cannot be avoided with the use of the Web Browser object.

See also: app.restart

Note: This function is defined in the library klib.k and is linked automatically.