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 427

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.

18 votes

Cron script not executing on Mavericks

The environment a cron job runs in is quite a bit different from an interactive shell; it's likely that the script is running, but not successfully. … Try changing the cron entry to: */2 * * * * /Users/[my user]/Dropbox/htdocs/auto-update.sh >>/tmp/auto-update.log 2>&1 ...and see if anything informative shows up in the log. …
Gordon Davisson's user avatar
12 votes
Accepted

What is the difference between cron and launchd?

launchd does a lot more than cron. … If you're interested in it specifically as a replacement for cron, the main difference is how it handles being asleep or shut down when a job is scheduled to run. …
Gordon Davisson's user avatar
3 votes

Why is Cron not running the enable wifi command?

In addition to possible permissions problem, you might be having trouble because networksetup isn't in the default PATH for cron jobs. … The default path for cron jobs includes just /bin and /usr/bin, but the networksetup executable is in /usr/sbin, so the command will not be found. …
Gordon Davisson's user avatar