Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Self hosted linux pipeline runner not working started by cron

Johannes Bauer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2023


I use a self hosted Linux pipeline runner on a Ubuntu 22.04 VM.

It was working fine until I updated the machine from Ubuntu 20.04 to 22.04.

I start the runner with crontab. This does not work anymore after the Ubuntu update.

If I start the runner manually it works fine, with crontab it shutsdown immediatelly.

There is no information in the runner logfile:

[2023-08-01 05:31:04,339] Runner version: 1.490
[2023-08-01 05:31:04,385] Runner runtime: linux-shell
[2023-08-01 05:31:07,506] Updating runner state to "OFFLINE".
[2023-08-01 05:31:09,279] Shutdown completed

The crontab entry looks like this (with omitted secrets)

31 5 * * * cd /opt/atlassian/bitbucket-pipelines-runner/bin && ./ --accountUuid {...} --runnerUuid {...} --OAuthClientId ... --OAuthClientSecret ... --runtime linux-shell --workingDirectory ../temp 

 Any idea what I'm doing wrong?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2023

Hi Johannes,

Are there any error messages in the crontab logs with additional info as to why the runner is shutting down?

Kind regards,

Suggest an answer

Log in or Sign up to answer
Product Admin
AUG Leaders

Atlassian Community Events