Re: 10.4.8 cron / crontab not working after upgrade.
Subject : Re: 10.4.8 cron / crontab not working after upgrade.
From: Gregor Alessi <email@hidden >
Date: Sat, 17 Feb 2007 01:59:12 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
Hi
On 16.02.2007, at 20:00, David wrote:
On Feb 16, 2007, at 11:44 AM, John Zigrang wrote:
I have an hourly task that was working in 10.3.5, but after an
upgrade
its not work. The man indicated that crontab should be in /etc
and my is in
/priviate/etc.
Does this need to be moved?
Jaime Magiera wrote:
No. Actually, your problem is somewhat different. In 10.4, the new
method for running scheduled tasks is launchd. For more info...
man launchd
man launchctl
http://developer.apple.com/macosx/launchd.html
On Feb 16, 2007, at 12:56 PM, Jeremy Bush wrote:
My cron jobs work on 10.4 =/
/etc/ is just a link to /private/etc, btw.
lrwxr-xr-x 1 root admin 11 May 17 2005 etc -> private/etc
cron is supported in 10.4 but no crontab is setup by default (launchd
is used instead, as explained).
Just recreate the crontab entries you need, or learn about launchd and
go with that instead.
in 10.4 i had to add
SHELL=/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/scripts:/usr/local/scripts
HOME=/var/log
to my crontabs to get my scripts running.
i believe, scripts should be placed in /usr/local
hth
Gregor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.