Skip to content

Instantly share code, notes, and snippets.

@michabbb
Created May 11, 2022 15:01
Show Gist options
  • Save michabbb/fadec2f2d93b4e5668c9144b7c47737c to your computer and use it in GitHub Desktop.
Save michabbb/fadec2f2d93b4e5668c9144b7c47737c to your computer and use it in GitHub Desktop.
for entry in /where-your-files-are-after-a-checkout-of-your-ci/*
do
echo "Verify $entry"
CHECK=`chkcrontab -w bash -w docker $entry`
if [ "$?" -gt 0 ];then
echo "$CHECK"
exit 1;
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment