Filemaker G0600 Manual De Usuario

Descargar
Página de 72
Chapter 4
  
|
  Administration overview     53
FileMaker scripts
To schedule a FileMaker script to run, start the Schedule assistant as described above, then choose Run Script. 
Next, select the FileMaker Script type, then select the database that contains the script you want to run.
FileMaker scripts can do simple tasks or complex tasks. For example, you can write a FileMaker script to 
remove duplicate records or to validate the format of phone numbers. You can schedule these scripts to run 
during off hours, perhaps before a daily backup. 
Scripts can incorporate conditional decisions (if-else statements) and perform repetitive tasks (loop 
statements). You use the Manage Scripts feature in FileMaker Pro to build scripts by selecting from a list of 
web-compatible FileMaker Pro commands, called script steps, and specifying options (if necessary). To find 
out if a FileMaker script step is web-compatible, see the script step reference in FileMaker Pro Help. 
System-level scripts
Script files must be placed in the Scripts folder on the master machine in your FileMaker Server deployment. 
To schedule a system-level script to run, start the Schedule assistant as described above, then choose Run 
Script. Next, select the System-level Script type, then select the script file you want to run.
System-level scripts can perform whatever tasks you need to perform at the operating system level on the 
master machine. For more information, see the documentation for the scripting language you want to use.
See FileMaker Server Help for more information about running scripts as scheduled tasks.
Script Sequences
To create a script sequence, start the Schedule assistant as described above, then choose Run Script. Next, 
select the Script Sequence type, then select the database that contains the script you want to run. Next, select 
the script file you want to run, then select an optional pre-processing system-level script, an optional post-
processing system-level script, or both. 
See FileMaker Server Help for more information about running script sequences as scheduled tasks.
Sending messages to FileMaker Pro clients
You can send messages to notify FileMaker Pro clients about important events such as server shutdowns, 
database maintenance, or deadline reminders. You can send messages to:
1
all FileMaker Pro clients or selected FileMaker Pro clients connected to hosted databases
1
FileMaker Pro clients connected to any database or selected databases hosted by FileMaker Server
1
FileMaker Pro clients as a scheduled task
To send messages to FileMaker Pro clients, choose the Admin Console Clients pane and select one or more 
clients from the list. Select Send Message or Send Message to All Clients from the Actions menu, and click 
Perform Action to enter the message.
To send messages to FileMaker Pro clients connected to hosted databases, choose the Admin Console 
Databases pane and select a folder or database file. Select Send Message (for database files only) or Send 
Message to all from the Actions menu, and click Perform Action to enter the message.
To create a scheduled task for sending messages, choose the Admin Console Schedules pane, select Create 
a Schedule from the Actions menu, and click Perform Action. Then, select Send Message, create the 
message, and set up a schedule to deliver it.