Skip to content

Commit

Permalink
YDA-5986: fix intake vault cronjob error
Browse files Browse the repository at this point in the history
The intake-to-vault cronjob was not running correctly because
it used bash/csh style redirects. Replace it with traditional
Bourne shell redirects, so that cron can run it with the Ubuntu
default shell (Dash).
  • Loading branch information
stsnel committed Oct 24, 2024
1 parent 2e897cf commit 94f03b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/yoda_rulesets/tasks/yoda-ruleset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@
ansible.builtin.cron:
name: 'job_movetovault.r'
minute: '*/5'
job: '{{ irods_directory.stdout }}/.irods/run-intake-movetovault.sh >& /dev/null'
job: '{{ irods_directory.stdout }}/.irods/run-intake-movetovault.sh >/dev/null 2>&1'
state: '{{ "present" if enable_intake else "absent" }}'


Expand Down

0 comments on commit 94f03b3

Please sign in to comment.