Running Grasshopper through task scheduler in Windows

Is it possible to run Rhino / Grasshopper in the background. Let’s say I have a process I want to execute regularly and I want to start it with Task Scheduler. Usually what I would do for other programs is to create a BAT file and then execute that with the task scheduler and the process would run.

Is this possible with a Grasshopper script?