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 237

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.

0 votes

Issue running command in cronjob but works as a regular command

The issue is that yt-dlp is not on your PATH in crontab but it is in the terminal. To see look at the output of echo $PATH and which yt-dip in Terminal The quick fix is pput the full path for yt-di …
mmmmmm's user avatar
  • 31k
3 votes
Accepted

I need help translating this cron job into launchd

It also can generates the correct StartInterval from a cron time specification. There is also Lingon. Both these are commercial and cost money. … In this case the keys that you need are Program - best to use the full path here and also in cron StandardOutPath - to say where the output should go - dealing with your > issue. …
mmmmmm's user avatar
  • 31k
3 votes

Crontab task "LSOpenURLsWithRole() failed ... with error -600 for the file ..."

Just call your scripts directly from the cron script. e.g. daily.sh should be #! … /bin/bash ~/backupThing1.sh ~/dailyThing2.sh Note that you might need to have absolute paths not ~ here as cron jobs do not have the same environment as when run in the terminal. …
mmmmmm's user avatar
  • 31k
5 votes

Where is my crontab file?

The OS X way is to use launchctl to run jobs at a time. For ease of use there are GUIs called Launch Control and Lingon.
oa-'s user avatar
  • 7,786