Skip to content

Commit f5b9285

Browse files
committed
Cleanup cron expression
1 parent 50039f8 commit f5b9285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/assets/functions/10-db-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ timer() {
15711571

15721572
if [ "${expression_step}" != "${expression}" ]; then
15731573
for step in ${validate_temp}; do
1574-
if [ $(( (${step} - ${expression_start}) % ${expression_step} )) -eq 0 ]; then
1574+
if [ $( (( step - expression_start ) % expression_step )) -eq 0 ]; then
15751575
validate_all="$validate_all ${step}"
15761576
fi
15771577
done

0 commit comments

Comments
 (0)