Skip to content

Commit

Permalink
Merge pull request #1569 from todor-ivanov/WMAgent_CrontabSpam_fix-12184
Browse files Browse the repository at this point in the history
Fix broken cron jobs redirect
  • Loading branch information
vkuznet authored Nov 27, 2024
2 parents a3c3fe4 + 9108c62 commit 7c8785f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/pypi/wmagent/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ set_cronjob() {

# Populating proxy related cronjobs
crontab $crontabParams - <<EOF
55 */12 * * * $crontabEnvStr date -Im >> $WMA_LOG_DIR/renew-proxy.log && $WMA_MANAGE_DIR/manage renew-proxy 2>&1 >> $WMA_LOG_DIR/renew-proxy.log
55 */12 * * * $crontabEnvStr date -Im >> $WMA_LOG_DIR/renew-proxy.log && $WMA_MANAGE_DIR/manage renew-proxy >> $WMA_LOG_DIR/renew-proxy.log 2>&1
58 */12 * * * $crontabEnvStr python $WMA_DEPLOY_DIR/deploy/checkProxy.py --proxy $X509_USER_PROXY --time 120 --send-mail True --mail [email protected]
*/15 * * * * $crontabEnvStr source $WMA_DEPLOY_DIR/deploy/restartComponent.sh 2>&1 >> $WMA_LOG_DIR/component-restart.log
*/15 * * * * $crontabEnvStr $WMA_DEPLOY_DIR/deploy/restartComponent.sh >> $WMA_LOG_DIR/component-restart.log 2>&1
EOF
let errVal+=$?

Expand Down

0 comments on commit 7c8785f

Please sign in to comment.