cron-manager failed to provision machine error

I was able to resolve the “authentication” error. It was necessary to create a deploy token:

fly tokens deploy -a finohra-cron-manager

and then set the secret like so:

fly secrets set DEPLOY_TOKEN="FlyV1 fm2_lJPECAAAAAAAAfS7xBBBQ3...60FeJY=" -a finohra-cron-manager

However the job is failing. Here is the error I have in the logs now:

2024-05-29T08:49:01.623 app[6e82992c129ed8] ord [info] api | INFO[0356] Preparing job... app-name=finohra job-id=3376 schedule=update-invoice-status

2024-05-29T08:49:02.296 app[6e82992c129ed8] ord [info] api | INFO[0357] Running job... app-name=finohra job-id=3376 machine-id=d891395f466928 schedule=update-invoice-status

2024-05-29T08:49:10.340 app[6e82992c129ed8] ord [info] monitor | INFO[0365] Job failed with exit code 10 app-name=finohra execution-time=1.16s job-id=3376 machine-id=d891395f466928 schedule=update-invoice-status

When I run the job directly in my main app, it DOES work:

flyctl ssh console -C "bundle exec rails runner 'UpdateInvoiceAndPaymentStatusJob.perform_now'" -a finohra

Does anybody know what “exit code 10” means? I did not find it in the documentation.