mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 21:33:28 +01:00
Cleanup cron expression
This commit is contained in:
@@ -1571,7 +1571,7 @@ timer() {
|
|||||||
|
|
||||||
if [ "${expression_step}" != "${expression}" ]; then
|
if [ "${expression_step}" != "${expression}" ]; then
|
||||||
for step in ${validate_temp}; do
|
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}"
|
validate_all="$validate_all ${step}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user