Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michabbb/f408d802de979e3df08936179ba4bb5a to your computer and use it in GitHub Desktop.
Save michabbb/f408d802de979e3df08936179ba4bb5a to your computer and use it in GitHub Desktop.
FILES=""
for entry in /crontab/*
do
FILES+="$entry "
done
echo "update crontab"
cat $FILES |crontab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment