Requires: IP-Symcon >= 5.5
void RegisterOnceTimer (string $Name, string $ScriptContent)
Name | Name of the timer |
ScriptContent | PHP script without PHP tags (<?php ... ) |
No Return |
This function creates a timer with name name and content ScriptContent. The timer is executed once and immediately.
The content of script content is overwritten every time, therefore the correct content can always be guaranteed, even after changes.
// Creates a timer called "Update". $this->RegisterOnceTimer("Update", "echo 'Hallo World';");