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.
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.