USER=root no longer needed for so-status cron

This commit is contained in:
Josh Patterson
2023-04-14 16:18:48 -04:00
committed by GitHub
parent 9bd176621d
commit c8ef8cc88e

View File

@@ -209,7 +209,7 @@ sostatus_log:
# Install sostatus check cron. This is used to populate Grid. # Install sostatus check cron. This is used to populate Grid.
so-status_check_cron: so-status_check_cron:
cron.present: cron.present:
- name: 'USER=root /usr/sbin/so-status -j > /opt/so/log/sostatus/status.log 2>&1' - name: '/usr/sbin/so-status -j > /opt/so/log/sostatus/status.log 2>&1'
- identifier: so-status_check_cron - identifier: so-status_check_cron
- user: root - user: root
- minute: '*/1' - minute: '*/1'