Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 115523

Cron is a time-based job scheduler found in most Unix-like computer operating systems, like macOS. Cron is driven by a crontab (cron table) file, a configuration file that specifies commands to run periodically on a given schedule. This tag should be use when dealing with any cron issues.

1 vote

Crontab stopped running after upgrading to mac os 10.8.5

I'm running OS X 10.8.5 and use CronniX to setup my cron job, it works just fine in OS X 10.8.5. …
user3439894's user avatar
  • 59.8k
2 votes
Accepted

Launch app in foreground doesn't work from cron, but does from terminal

For me on macOS High Sierra, e.g.: * * * * * open -a TextWrangler ~/notes.txt; open -a Notes works as is, both apps come to the front. Try adding, e.g.: ; osascript -e 'tell app "TextWrangler" t …
user3439894's user avatar
  • 59.8k
4 votes
Accepted

How to get macOS Wi-Fi device name programmatically in Bash script?

In your question I know you used networksetup -listnetworkserviceorder however I'd use networksetup -listallhardwareports instead as it's easier to parse the output using awk, by itself, with a minimu …
user3439894's user avatar
  • 59.8k
1 vote
Accepted

Cron job can't access Documents - "Tar: Desktop: Couldn't visit directory: Unknown error: -1"

To resolve the issue, add cron and tar to: System Preferences > Security > Privacy > Full Disk Access To address your comment, "I had to do this for both cron and tar, even though tar is the only program … : I had read this article in the past: How to Fix Cron Permission Issues in macOS Big Sur, Catalina, & Mojave …
user3439894's user avatar
  • 59.8k
6 votes
Accepted

Write cron script to open and exit application

You can read the manual page for command in Terminal by typing command and then right-click on it and select: Open man Page cron example: From the manual page for crontab: (Darwin note: Although cron … Notes: I recommend you read the manual pages for cron and crontab. …
user3439894's user avatar
  • 59.8k