The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
28 views

Where are crontab files stored in OS 10.8

I've already looked at this question: Where is my crontab file? But there is no real answer except for 10.7. I'm trying to migrate crontab from an old drive that I can't boot so using crontab -e is ...
1
vote
1answer
38 views

Why doesn't crontab run if screensaver is on?

I want to run a Crontab on OS X 10.11.1 (El Capitan). I'm running the command: env EDITOR=nano crontab -e to enter the crontab with nano as the editor. Then I create my cronjob that looks like ...
0
votes
1answer
66 views

Crontab stopped running after upgrading to mac os 10.8.5

Pls advise what needs to be done to run the crontab on mac 10.8.5. Here is my problem. I had a crontab running smoothly on my mac 10.6.8. Now, after upgrading to 10.8.5, the crontab does not run ...
1
vote
1answer
33 views

Using osacript to access Finder from crontab (or from non-interactive session)

I have a script that generates a dmg file from my application bundle. This is generated every night from our subversion repository. If would be interesting to set up things like the DMG's window ...
0
votes
0answers
198 views

SSH via sudo cron on Yosemite

I have a shell script that is supposed to run via cronjob on Yosemite, also when no user is logged in. I discovered the cron has to be edited with sudo crontab -e to do that. The script connects to ...
3
votes
2answers
668 views

How to run a cron job each time the previous execution has finished?

I would like to run a Python script each time it finishes and I think I can do this with cron but I am not sure how to do it. The idea is each time the Python scripts ends, it will have to run again ...
1
vote
1answer
582 views

Cron job keeps running, not in any crontabs

Some time ago I set up a cron job that would run a shell script to update my dynamic DNS. I've since done the proper Mac thing and switched over to launchd to handle that job and any other scheduled ...
2
votes
1answer
68 views

How Can I Log Crontab File Writes

I'm looking for a way to log crontab file writes. A friend of mine pranked me, and did something that occasionally adds */5 * * * * say "deranged" "The current time is `date`" I haven't been able to ...
1
vote
1answer
140 views

Cron configuration on Mavericks

How can I configure cron to send a local email only to the crontab owner with the cron job output. This worked with Lion, could check the cron emails by just running mail in the terminal so I don't ...
1
vote
1answer
274 views

AppleScript working until placed in cron; causing Chrome to go unresponsive

Good afternoon. Question: I have a simple apple script telling Google Chrome to open, go to a URL, and enter presentation mode... tell application "Google Chrome" activate make new window ...
3
votes
1answer
2k views

Root crontab won't save

I'm trying to add a crontab entry to my root user's crontab. I'm able to add an entry without issue to my regular user's crontab, but when I su to root user and try adding a crontab entry it does not ...
-1
votes
4answers
290 views

print user's crontab

How can I print out my crontab? Under Linux this can be done using crontab -l, however, running crontab -l under Mac OS X produces no output whatsoever and exits cleanly. Here's my crontab: 0 ...
0
votes
1answer
67 views

Scheduling cronjobs at specified time

I have scheduled some jobs in crontab which are to be run one by one, at some specific time. My script for crontab is : 15 10 * * * /Users/sri/files/BatchFF.sh 45 11 * * * /Users/sri/files/BatchGC.sh ...
0
votes
2answers
423 views

Running Applescript using cron jobs not working

I'm new to conjobs and applescript but I have the script done correctly i believe. (any critique is welcome) I don't want to bloat my calendar with events to do this because I use my calendar for ...
2
votes
1answer
638 views

How can root launch a regular Mac application from a cron job in /etc/crontab?

I want the cronjob to do some things as the superuser, and depending on the result, launch an app as me, the logged-in user. I've tried a bunch of things but nothing I think should work does. ...
0
votes
0answers
446 views

A working applescript fails when running via cron

MacOs 10.8.2 I have 2 applescripts shown below. They are arranged in one shell script to run one after another by using osascript (just to simplify the example). Everything works fine when starting ...
2
votes
1answer
352 views

Use cron to screencapture on Mountain Lion

I want to set cron to capture the current desktop every hour: screencapture -Cd -tjpg ~/Desktop/screen-`date +"%Y%m%d-%H%M"`.jpg I tired this method but it seems doesn't work on Mountain Lion. I ...
0
votes
1answer
667 views

OS X Lion mysterious user cron job just does echo “PATH is $PATH”

OS X Lion 10.7.3. Console view of system.log shows log entries for cron jobs defined in my user crontab as expected. Follow this link to view a copy of my user crontab if you want. I inspected ...
2
votes
4answers
1k views

cron is failing to run my AppleScript

I have the following code in a text file (myfile.applescript): #! /usr/bin/osascript tell application "Google Chrome" to quit I would like Chrome to shut down each night at 9:15PM, so I added the ...
12
votes
3answers
6k views

Where is my crontab file?

I want to edit my crontab file to schedule a script. Where do I find it?