TTask.Schedule (TitTask)
De Wiki1000
Version du 6 décembre 2022 à 16:34 par Syfre (discuter | contributions)
(Version 11)
class function Scheduler(const iPlanification:string; iAttributes:Array of string; iValues:Array of variant):boolean;
Cette fonction planifie une tâche.
| Paramètre | Usage |
|---|---|
| iPlanification | Chaîne de définition de la planification |
| iAttributes | Un tableau de propriété de la tâche qui seront initialisée lorsque la tâche sera déclenchée |
| iValues | Un tableau de valeur correspondant aux attributs initialisés |
| Result | True si la tâche a été posté |
Exemple :
//Procedure TestRegisterTasks; begin MyTask.Schedule('<planification RepeatValue="Minutes" RepeatInterval="1" StartOfPeriodDate="20221203T00"/>',['unCode','unEntier'],['Z',0]); end;
Voir aussi:
| Whos here now: Members 0 Guests 0 Bots & Crawlers 1 |