Upgrade
Open in app
Home
Notifications
Lists
Stories

Write
Mac O’Clock
Published in

Mac O’Clock

Herman Li
Herman Li

Apr 9, 2020

·
3 min read

Automate running a script using crontab on macOS

Photo by Henan Li

What is cron

The cron is a time-based job scheduler in Unix-like computer operating systems. It allows the user to schedule time to run tasks, so you can automate things like backups, create logs, health checks, etc.

Before config the crontab file

Operation not permitted

More from Mac O’Clock

The best stories for Apple owners and enthusiasts

Read more from Mac O’Clock

More from Medium

Head and Tail Pointers : Pattern for Coding Interviews
codebar — The Charity
That’s right, after 14 months of lots of paperwork and legal conversations we are very happy to announce that codebar is now a registered…
Having python issues on the new Mac M1 processor? Switch to Arm.
Building SMS at Klaviyo
Mobile at Klaviyo
8 Things to Consider When Estimating the Cost of Software
Unlimited Flexibility of Matplotlib
You can pretty much do anything on your plot.
Blogs: Week of 29 Mar — 4 Apr Joseph Jiang
What did you do this past week?
Learning To Program
No one is really born being good at something, at some point, everyone had to learn. A basketball player has to learn the basics of…
Herman Li

Herman Li

Related

Installing Homebrew on Mac M1
Four simple steps to install Homebrew on the latest Mac M1 chipset
Install zsh-completions using Homebrew on MacOS 12.1 Monterey
Showing a connected status to the Raspberry Pi on the Mac Terminal
How to Remotely Access a Raspberry Pi on a Mac via SSH
Create GitHub Repository from MacOS with Homebrew

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable