Detect a scheduled run vs manually started
Detect a scheduled run vs manually started
Any way to do this in Pascalscript? Thanks.
Re: Detect a scheduled run vs manually started
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.
Re: Detect a scheduled run vs manually started
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.
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.
Re: Detect a scheduled run vs manually started
The OnCanRunProfile hook looked useful. I thought about doing my actions in there since it seems to be called when the scheduler is about to run a profile, but it seems to only be available on the Windows version of Syncovery.