Schedule.EvaluateAtTimeStamp
----------------------------

Evaluates an expression at a given point in time.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Schedule](component_Schedule.md) | [5.2](newinversion52.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "Schedule.EvaluateAtTimeStamp"; TimeStamp; Expression { ; ScriptFileName; ScriptName; RepeatDelay } ) 

**MBS**( **"Schedule.EvaluateAtTimeStamp";** /\* Evaluates an expression at a given point in time. \*/  
**$TimeStamp**; /\* The timestamp at which to call the script. Plugin checks regularly if time stamp is reaches and calls as soon as current time is greater or equal the given timestamp. So calls can be delayed if FileMaker is busy!e.g. Get(CurrentTimeStamp)+60 \*/   
**$Expression**; /\* The expression to evaluate.e.g. "Get(CurrentTimeStamp)" \*/   
**$ScriptFileName**; /\* Optional; The name of the file that contains the script to be run.e.g. Get(Filename) \*/   
**$ScriptName**; /\* Optional; The exact name of the script to rune.g. "TestScript" \*/   
**$RepeatDelay**) /\* Optional; The number of seconds after which to repeat the script call.e.g. 30 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| TimeStamp | The timestamp at which to call the script. Plugin checks regularly if time stamp is reaches and calls as soon as current time is greater or equal the given timestamp. So calls can be delayed if FileMaker is busy! | Get(CurrentTimeStamp)+60 |  |
| Expression | The expression to evaluate. | "Get(CurrentTimeStamp)" |  |
| ScriptFileName | The name of the file that contains the script to be run. | Get(Filename) | Optional |
| ScriptName | The exact name of the script to run | "TestScript" | Optional |
| RepeatDelay | The number of seconds after which to repeat the script call. | 30 | Optional |

### Result

Returns reference number or error.

### Description

Evaluates an expression at a given point in time.  
Optional, we can start a script with the result of the query.  
Please use [Schedule.Release](ScheduleRelease.md) later to remove schedule from list. Non repeating scheduled items are free automatically for you.   
You define the timestamp at which to call the script. Plugin checks regularly if time stamp is reaches and calls as soon as current time is greater or equal the given timestamp. So calls can be delayed if FileMaker is busy!  
Our plugin does not provide persistence. You need to schedule things in your scripts if you need them. When FileMaker quits, the plugin forgets the list of schedules.  
### See also

- [Schedule.EvaluateAfterDelay](ScheduleEvaluateAfterDelay.md)
- [Schedule.EvaluateAtTime](ScheduleEvaluateAtTime.md)
- [Schedule.ExecuteSQLAtTimeStamp](ScheduleExecuteSQLAtTimeStamp.md)
- [Schedule.Release](ScheduleRelease.md)

This function checks for a license.

Created 21st May 2015 , last changed 12nd July 2015

  
[Schedule.EvaluateAtTime](ScheduleEvaluateAtTime.md) - [Schedule.EvaluateOnIdle](ScheduleEvaluateOnIdle.md)

[HTML Version](ScheduleEvaluateAtTimeStamp.shtml)