• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: difference in settings between terminal and crontab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >difference in settings between terminal and crontab (From: "koen gogne" <email@hidden>)

  • Prev by Date: Re: static lib gets wrong path
  • Next by Date: Re: /Library/Caches/com.apple.Xcode.<UID> is huge!
  • Previous by thread: difference in settings between terminal and crontab
  • Next by thread: Jam problems
  • Index(es):
    • Date
    • Thread