Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sure that the cron service is running. a under certain circumsta… #608

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ MAX_AGE=300 # max age in seconds should be the same interval as the cron setting
# check if index sync status file exists
if [[ ! -f "${LAST_SYNC}" ]]; then
echo "index sync status file does not exist ${LAST_SYNC}"
# reload cron / restart in case it has not been activated correctly during initial container start
envsubst < docker-crontab | crontab
exit 1
fi

Expand Down
Loading