Skip to content

Commit

Permalink
Cleanup cron expression
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Nov 7, 2023
1 parent 50039f8 commit f5b9285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/assets/functions/10-db-backup
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@ timer() {

if [ "${expression_step}" != "${expression}" ]; then
for step in ${validate_temp}; do
if [ $(( (${step} - ${expression_start}) % ${expression_step} )) -eq 0 ]; then
if [ $( (( step - expression_start ) % expression_step )) -eq 0 ]; then
validate_all="$validate_all ${step}"
fi
done
Expand Down

0 comments on commit f5b9285

Please sign in to comment.