Tagged Questions
2
votes
1answer
68 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
1answer
113 views
Lauchd - Run task multiple times between time interval
I want to run a script every 15 minutes between 12:00 AM and 4:00 AM. Is there a way to do that with launchd?
I know you can specify and array of dictionaries using StartCalendarInterval to ...
0
votes
0answers
24 views
Launch program after inactivity [duplicate]
Possible Duplicate:
How can I automatically launch an application whenever the Mac goes idle?
I'd like to launch an AppleScript/ App after 30 minutes of system inactivity. e.g. no cursor ...
0
votes
1answer
668 views
How to make a LaunchAgent with StartCalendarInterval
I want to start replacing crontabs with LaunchAgents. My first attempt is not working.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ...
3
votes
1answer
250 views
What is the difference between cron and lauchd?
What is the difference between cron and lauchd? I have always used cron, but I have recently heard that launchd is better. Why? In what ways is cron better? In what ways is launchd better?
8
votes
3answers
3k views
ssh-under-cron stops working in OS X 10.7 Lion
Just upgraded from Snow Leopard to Lion, and my cron jobs that use ssh have stopped working. It appears that ssh-agent is no longer functioning as expected.
Here's a bowdlerized version of my ...