Checks when a script was last run and whether the minimum time between runs has elapsed. Returns (Task)
Overview of CheckScriptLastRunAsync goes here.
| Name | Description |
|---|---|
| packageInfo | The FIT package containing the script |
| scriptName | The name of the script to check |
| minTimeBetweenRunsInMilliseconds | Minimum time between runs in milliseconds |
Example in C#
// Returns: Boolean
var item = await client.CheckScriptLastRunAsync(FitPackageInfo packageInfo, String scriptName, Int32 minTimeBetweenRunsInMilliseconds);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitPackages/FitPackage.KEY/scripts/SCRIPTNAME \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
-d '1000'