Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dungmanh88/c5cd4861beeefd4e93bd001c73927a65 to your computer and use it in GitHub Desktop.
Save dungmanh88/c5cd4861beeefd4e93bd001c73927a65 to your computer and use it in GitHub Desktop.
Prevent cron service start automatically or manually on systemd
systemctl mask cron.service
systemctl list-unit-files | grep cron.service
## For unmask
systemctl unmask cron.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment