I just found out about a shell script /etc/daily that mac users recommend running daily or weekly. It supposedly removes old system messages and junk. Does OS X invoke this script automatically every so often or must it be manually invoked? Is it very necessary?
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
Recommended Answers
Jump to PostHello Dani,
Mac OS X is a *nix, and it has a crontab just like Linux and the rest of them. If you take a look at /etc/crontab, it will show you that these scripts are called regularly.
Here is mine:
yoda:/etc Christian$ cat crontab
# /etc/crontab
…
Jump to PostTo run the scripts by hand, do:
sudo periodic <script>
Where <script> should be replaced by daily, weekly, monthly, or any combo thereof.. example:
sudo periodic daily weekly
This will run my /etc/daily (and /etc/daily.local) as well as my /etc/weekly (and /etc/
All 7 Replies
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
kc0arf 68 Posting Virtuoso Team Colleague
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
Warren Oates 0 Newbie Poster
yellow 5 Posting Pro
redage 0 Junior Poster in Training
yellow 5 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.