Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
two exec calls doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiahstroud committed Feb 21, 2024
1 parent c8fbed6 commit 9ffd497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/worker
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ end

if ENV['AUX_WORKER']
# Run all queues (including :auxiliary)
exec "export GOOD_JOB_QUEUES='*'"
%x{export GOOD_JOB_QUEUES='*'}
exec "echo $DATABASE_URL && bundle exec good_job"
else
# Run all queues (excluding :auxiliary)
exec "export GOOD_JOB_QUEUES='-auxiliary'"
%x{export GOOD_JOB_QUEUES='-auxiliary'}
exec "echo $DATABASE_URL && bundle exec good_job"
end

0 comments on commit 9ffd497

Please sign in to comment.