How i can manage taskmanager to schedule app runs applications lazarus / 34-Windows ---------------------------------------------------------------------- eldonfsr · 2022-06-03 13:26 Hi it's possible from app create schedule and add this schedules to taskmanager... I know i can create that on task manager.... ---------------------------------------------------------------------- Leledumbo · 2022-06-06 16:16 I believe the API is exposed in Windows unit, or one of the winunits- xxx packages. Unfortunately, unless someone else already does so, you have to read and understand in C++ as that's what MS used in their documentation. Starting page is here, while an example is here, you can just replace the notepad with whatever you want and change the schedule accordingly. ---------------------------------------------------------------------- Thaddy · 2022-06-06 18:59 Quote from: Leledumbo on June 06, 2022, 06:16:30 pm C++ No it is plain C. ---------------------------------------------------------------------- bobby100 · 2022-06-06 20:01 https://forum.lazarus.freepascal.org/index.php?topic=40821.0 or create XML files for task scheduler and register the task: https://docs.microsoft.com/en-us/windows/win32/taskschd/time-trigger- example--xml- ---------------------------------------------------------------------- Leledumbo · 2022-06-13 03:01 Quote from: Thaddy on June 06, 2022, 08:59:14 pmQuote from: Leledumbo on June 06, 2022, 06:16:30 pm C++ No it is plain C. No, it's a C compliant C++. That's the reason why the documentation mentions C++ consistently instead of C or even C/C++ (well, this one still appears sometimes, but maybe an overlook or old writing).