Hi, how I have to configure the execution of the script every time windows start and how to keep the execution in background.
Hi @lprada,
I assume that you are referring to a Windows Runner?
I'm not sure how to keep the execution in the background, but if you don't mind running it in the foreground you can do the following:
1. Find the location where you unzipped atlassian-bitbucket-pipelines-runner.zip, let's say this is
C:\Users\<My_User>\Documents\atlassian-bitbucket-pipelines-runner\
2. Create a .cmd file in your computer, named e.g. startRunner.cmd with the following content:
cd C:\Users\<My_User>\Documents\atlassian-bitbucket-pipelines-runner\bin & powerShell C:\Users\<My_User>\Documents\atlassian-bitbucket-pipelines-runner\bin\start.ps1 -accountUuid '{.....}' -runnerUuid '{.....}' -OAuthClientId ..... -OAuthClientSecret ..... -workingDirectory '..\temp'
where
You can then create a scheduled task in Windows to run the file startRunner.cmd every time your Windows user or another user logs in to Windows.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.