Skip to content

Commit

Permalink
Fix logrotate executable path
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Dec 6, 2023
1 parent 043bf9b commit 1d4c6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy_dqmgui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ install_crontab() {
crontab -l # Get existing crontabs
echo "17 2 * * * $INSTALLATION_DIR/current/config/dqmgui/daily"
echo "@reboot $INSTALLATION_DIR/current/config/dqmgui/manage sysboot"
echo "0 3 * * * logrotate $INSTALLATION_DIR/current/sw/cms/dqmgui/$DQMGUI_GIT_TAG/128/etc/logrotate.conf --state $INSTALLATION_DIR/state/dqmgui/logrotate.state --verbose --log $INSTALLATION_DIR/logs/dqmgui/logrotate.log"
echo "0 3 * * * /usr/sbin/logrotate $INSTALLATION_DIR/current/sw/cms/dqmgui/$DQMGUI_GIT_TAG/128/etc/logrotate.conf --state $INSTALLATION_DIR/state/dqmgui/logrotate.state --verbose --log $INSTALLATION_DIR/logs/dqmgui/logrotate.log"
) | crontab -
}

Expand Down

0 comments on commit 1d4c6ac

Please sign in to comment.