Windows Desktop App in Windows Task Scheduler

I am creating a Desktop app that will connect to two MS SQL servers to move and transform some data. I also need to run the same program un-attended via the Windows Task Scheduler. I don’t want to create two versions, one for the Desktop and one as a console app.

MY QUESTION
Is there any inherent problem with running a desktop app in the Task Scheduler?

I have done this with other languages but I have not tried it in XOJO. I would use System.Command line to detect a command line option when run from the Task Scheduler and automatically run and exit.

Hi Mark,

Did you ever go through with this?

Any issues?

Thanks

Tim

It has been a while but I think using a desktop app but adding some command line parameters does seem to work in the Windows Task Scheduler.