---

How to Run a Command Periodically in Linux using Watch

Periodically running a command or a process in Linux is quite common. From clean-up scripts, to duplicate file removal commands, to automated periodic upgrades, common operations can be configured to run periodically in Linux. Unlike chron, which outputs to a log file, watch displays real-time output.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis