can not run gitlab-runner as a windows scheduled task
Hi,
On a windows server, i want to run the gitlab-runner within a scheduled task (at server startup event).
For some reason, we could not run into a windows service (no access to graphical environment inside the windows service)
If i run it directly through the command or within a powershell script, i have no problem. If i run it through a scheduled job, the runner never appear in the task manager and is unavailable for the jobs
Command line ok C:\gitlab-runner\gitlab-runner-windows-amd64.exe run --working-directory C:\gitlab-runner --config C:\gitlab-runner\config.toml
I don't have any particular bad logs in the scheduled task, everything is successfull but still no runner... :(
Is there any issue/drawback by encapsulating the start of the runner within a scheduled task please ? Can somebody reproduce the issue please Thanks tito