Re: difference in settings between terminal and crontab
Re: difference in settings between terminal and crontab
- Subject: Re: difference in settings between terminal and crontab
- From: Cameron Hayne <email@hidden>
- Date: Thu, 24 Nov 2005 13:06:12 -0500
On 24-Nov-05, at 11:02 AM, koen gogne wrote:
What's the difference between running from terminal-window and
running from crontab ?
One problem that people often have with crontab jobs is due to the
execution PATH being different. You should always use the full path
to executables in crontab scripts.
Another difference is the current directory - your app should not
assume anything about the current working directory.
Finally, it is unusual for crontab jobs to invoke GUI apps (you
mentioned using AppKit). There are difficulties due to the
WindowServer process being owned by the currently logged in user.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden