Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. root

Tag: root

unix / linux January 17, 2020 1 min read by mkyong 0 comments

Linux – How to run cron job as root?

On Linux, uses sudo crontab -e to define cron jobs that need to run as a root user. $ sudo crontab -e # Run every hour 0 * * * * * /path/this-script-need-root.sh References Wikipedia – Cron

Read more Linux – How to run cron job as root?

Java and Spring tutorials since 2008. Every example is a complete, runnable file, compiled and run on a real machine before it goes out.

About This Site

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use

© 2026 mkyong.com — Powered by WordPress

RSS