Detect a scheduled run vs manually started

General Discussion in English
Post Reply
Wombat
Posts: 21
Joined: Tue Jul 15, 2025 3:24 pm

Detect a scheduled run vs manually started

Post by Wombat »

Any way to do this in Pascalscript? Thanks.
Wombat
Posts: 21
Joined: Tue Jul 15, 2025 3:24 pm

Re: Detect a scheduled run vs manually started

Post by Wombat »

No replies so I guess it can't be done. I worked around it by checking the time before invoking a script. This is basically so I can test the backup job by hand without it performing a bunch of time consuming actions every time I do it.
tobias
Posts: 2092
Joined: Tue Mar 31, 2020 7:37 pm

Re: Detect a scheduled run vs manually started

Post by tobias »

Hi,
sorry for missing the reply! I think it's true that PascalScript doesn't expose a direct way to detect this. I was going to give it more thoughts but then I forgot. I suppose that a future update will make it possible.
Post Reply